Atozed Forums

Full Version: custom html page if file not found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Where are you putting file.htm ?
(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".
Have looked in the demos? There is a demo showing how to customize the error pages.
(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.
There is also a 404 page which you can use, using the same principle.
What do you mean?
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.
Thanks. It works.