Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Costumized errors

Status
Not open for further replies.

Neutje

Programmer
Sep 19, 2001
38
BE
Hi,

I'm have problems to costumize the errors
I read about this @ this is what I configured :

Alias /errordocs /websites/error
<Directory /websites/error>
AllowOverride none
Options MultiViews IncludesNoExec FollowSymLinks
</Directory>

ErrorDocument 500 /errordocs/500.html
ErrorDocument 404 /errordocs/404.html

Hope someone can help me, tnx

Neutje
 
Hi,

The ErrorDocument directive of 'ErrorDocument 500 /errordocs/500.html' would ordinarily refer to a sub-directory of the server's DocumentRoot location. So, if DocumentRoot was /var/ then the file would be at /var/
The way you have it, that default should be overridden to produce an effective path of /websites/error/500.html . Assuming that is where you have the files are they readable & executable by the server ?

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top