View Full Version : CGI / PERL type peeps....
My domains running on an NT server. I'm after a script, an NT script so that if a wrong link is typed in, or if the page linked to one of our pages doesn't work (ie: the page doesn't exist) then it automaticly goes to a 4o4 page of my own.
Anyone know of this script for NT servers?
I thought Custom error messages were in server setups? as in if an error is triggered it calls a page in someones area?
WildWayz
28-09-2000, 07:01
Also thought it was only Apache Webservers that give custom error pages.
--WildWayz
**Note - gonna move this to the HTML forum - they often can help.
Yup, the NT Server should have the ability to create custom error pages for every virtual server on that server. The Administrator unfortunately has to set it up so that the error pages are within the same virtual directory too for the user to be able to edit them themselves.
See if you can ask whoever owns the server to do this if you are paying for the service.
dran
Rapter Red
30-09-2000, 23:41
ask em any way D m8.
NT needs to be done by the server. Its probably IIS4 or IIS5 its running. Contact your host and ask them about it. It's actually very easy for them to set up if they can be bothered.
For Apache servers you need a .htaccess file containing something like:
ErrorDocument 404 /~yourfoldername/404.html
which will load 404.html from your root directory instead of the boring default server one.
Exellent, thanks for all your help :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.