|
<< Click to Display Table of Contents >> Navigation: Forum > custom html page if file not found |
06-22-2019, 06:52 AM:
intraweb 14
If a user tries to open file my-domain/file.htm they get the standard intraweb message 404. I have had no luck changing it with my custom html page.
06-22-2019, 03:48 PM:
Where are you putting file.htm ?
06-22-2019, 04:17 PM:
(06-22-2019, 03:48 PM)kudzu Wrote: [ -> ]Where are you putting file.htm ?There is no "file.htm". I just do not want user to get a custom 404 intraweb page "file not found".
06-24-2019, 01:33 PM:
Have looked in the demos? There is a demo showing how to customize the error pages.
06-24-2019, 07:51 PM:
(06-24-2019, 01:33 PM)kudzu Wrote: [ -> ]Have looked in the demos? There is a demo showing how to customize the error pages.Does not work - to put IWError.html in "Templates" directory - since "resource not found" is not an error.
06-26-2019, 01:16 AM:
There is also a 404 page which you can use, using the same principle.
06-26-2019, 05:47 AM:
What do you mean?
06-26-2019, 11:10 AM:
if you create a page named IW404.html, following the same principles of other errors, IW will use this page instead of its own internal page.
06-26-2019, 12:25 PM:
Thanks. It works.