Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
custom html page if file not found
#1
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.
Reply
#2
Where are you putting file.htm ?
Reply
#3
(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".
Reply
#4
Have looked in the demos? There is a demo showing how to customize the error pages.
Reply
#5
(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.
Reply
#6
There is also a 404 page which you can use, using the same principle.
Reply
#7
What do you mean?
Reply
#8
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.
Reply
#9
Thanks. It works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)