[thelist] Apache: ErrorDocument in .htaccess-file

Anthony Baratta Anthony at Baratta.com
Tue May 15 14:01:30 CDT 2001


At 11:50 AM 5/15/2001, you wrote:
>hi all!
>
>is it possible to use "ErrorDocument" or "DirectoryIndex" in the
>.htaccess-file in a directory of my apache?
>I tried it, but it didn't work - do I have to make some changes in my
>httpd.conf/access.conf?

Yes.

You need to tell Apache to allow changes to the configs via the .htaccess file.

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
     AllowOverride All

On my personal boxes, I tell Apache to accept all changes - since I'm the 
only Admin. You might want to open it all the way if there are others 
sharing your box.




---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list