ErrorDocuments

    Date: 03/19/06 (Apache)    Keywords: html, apache

    I have a directory called "errordocs" just beneath my DocumentRoot.

    I have a .htaccess file also just beneath my DocumentRoot.

    Here's a sample from my .htaccess:

    ErrorDocument 400 /errordocs/400.html
    ErrorDocument 401 /errordocs/401.html
    ErrorDocument 402 /errordocs/402.html
    ErrorDocument 403 /errordocs/403.html
    ErrorDocument 404 /errordocs/404.html


    When I then visit a non-existent page, I still see the default 404 message instead of my custom message.

    Any idea what's going on? I'm using Apache2 on Debian sarge.

    Source: http://community.livejournal.com/apache/31366.html

« Apache connection woes || Hi! »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home