[thelist] .htaccess 404 error doc...
Daniel J. Cody
djc at starkmedia.com
Wed May 9 09:57:50 CDT 2001
Make sure you're specifying the full path to the 404.php file..
If you're using foo.com/moni as your website, you need to have
ErrorDocument 404 /moni/errordocs/404.php
Otherwise, the server will look in foo.com/errordocs which you dont have
access too :)
.djc.
Moniruvwe Orife wrote:
>
> what's wrong with this .htaccess file?
>
> ErrorDocument 400 /errordocs/400.php
> ErrorDocument 401 /errordocs/401.php
> ErrorDocument 403 /errordocs/403.php
> ErrorDocument 404 /errordocs/404.php
> ErrorDocument 500 /errordocs/500.php
>
> the .htaccess file is in my public_html directory... the error docs are in a
> subdirectory of public_html... i think i've referenced them correctly, but
> NS4 & NS6 tell me: Additionally, a 404 Not Found error was encountered while
> trying to use an ErrorDocument to handle the request. In IE i get the
> default 404.
> any ideas?
More information about the thelist
mailing list