How can I customize my own 404 notification?
My site is with an ISP. How do I find out if it supports this?
Thanks
-aslefoLook through the threads or do a search for "404", I'm sure this topic has been discussed several times. There is also an article on 123webmaster.com:
<!-- m --><a class="postlink" href="http://123webmaster.com/Onsite/Management/Use404s.html">http://123webmaster.com/Onsite/Management/Use404s.html</a><!-- m -->
Email your host and ask them what their policy is about using custom redirection for errors.
Regards,
KevinWell indeed, you're right
..sorry
Thanks for the URL
-AslefoI also recommend setting up Apache to handle 403's as a 404. 403's are the "Forbidden" messages. I find it's better to not let someone know they've stumbled across a dir or file they're not supposed to - that way it'll keep people from trying to hack into your site.Well how do I do that?
And, can I? My site is hosted by an ISP.
-aslefoDepends if the ISP allows ASP (some have NT servers and even prefer it), also if you are allowed to add CGI programs, or to edit the .htaccess file. If none of this, you can still fake a 403 for a folder: put an empty index.html in it, that only does a meta-redirect to your 403.html page, in an "errors" folder.Maybe what you need is HTACCESS:
<!-- m --><a class="postlink" href="http://www.perlaccess.com/tutorials/File_and_Directory/Htaccess/Well">http://www.perlaccess.com/tutorials/Fil ... ccess/Well</a><!-- m --> ok.
I found out that my host doesn't support customized 404's, so none of your tips will probably work. Thank's anyway.
-aslefo
My site is with an ISP. How do I find out if it supports this?
Thanks
-aslefoLook through the threads or do a search for "404", I'm sure this topic has been discussed several times. There is also an article on 123webmaster.com:
<!-- m --><a class="postlink" href="http://123webmaster.com/Onsite/Management/Use404s.html">http://123webmaster.com/Onsite/Management/Use404s.html</a><!-- m -->
Email your host and ask them what their policy is about using custom redirection for errors.
Regards,
KevinWell indeed, you're right
..sorry
Thanks for the URL
-AslefoI also recommend setting up Apache to handle 403's as a 404. 403's are the "Forbidden" messages. I find it's better to not let someone know they've stumbled across a dir or file they're not supposed to - that way it'll keep people from trying to hack into your site.Well how do I do that?
And, can I? My site is hosted by an ISP.
-aslefoDepends if the ISP allows ASP (some have NT servers and even prefer it), also if you are allowed to add CGI programs, or to edit the .htaccess file. If none of this, you can still fake a 403 for a folder: put an empty index.html in it, that only does a meta-redirect to your 403.html page, in an "errors" folder.Maybe what you need is HTACCESS:
<!-- m --><a class="postlink" href="http://www.perlaccess.com/tutorials/File_and_Directory/Htaccess/Well">http://www.perlaccess.com/tutorials/Fil ... ccess/Well</a><!-- m --> ok.
I found out that my host doesn't support customized 404's, so none of your tips will probably work. Thank's anyway.
-aslefo