Forum Moderators: phranque
I've created an .htaccess file, and st up custom error messages. They all seem to work, except the 403 forbidden message when trying to access a script in the scripts directory.
Do I need an .htaccess in each subdirectory.
My .htaccess is
ErrorDocument 400 /errors/badrequest.htm
ErrorDocument 401 /errors/authreqd.htm
ErrorDocument 403 /errors/forbidden.htm
ErrorDocument 404 /errors/notfound.htm
ErrorDocument 500 /errors/servererror.htm
try http://www.example.co.uk/scripts/formmail.pl
thanks
GJ
[edited by: jdMorgan at 5:20 pm (utc) on Jan. 2, 2004]
[edit reason] examplified & de-linked [/edit]
Welcome to WebmasterWorld [webmasterworld.com]!
> Do I need an .htaccess in each subdirectory?
No, not unless you need to override a setting made by a higher-level directory's .htaccess file.
Jim