[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .htaccess



Ahoy Ray

You ask:

>Is the apache version that comes with the raq3 compiled to allow use of all
the versions
>of .htaccess?


The option to allow or deny a directive from an .htaccess file is not
compiled in. Rather, it is controlled by a "Directive" in your Apache
configuration file, which is /etc/httpd/conf/httpd.conf. The particular
directive which controls this is "AllowOverride".

Read how to set the various options available to you for .htaccess files
among the Apache docs on the page named core.html. Or, you may download the
Apache Scout, a rough and ready, free VB5 tool which comes with all the docs
and a search engine zipped into one file, at http://www.webmost.com/scout

However, you also remark that:

>When installing an .htaccess file for 404 redirects I'm getting a
"Additionally, a 500
>Internal Server Error error was encountered while trying to use an
ErrorDocument to handle
>the request".  (It's not my night)

This indicates that the .htaccess is actually working, but that the file it
redirects to is not. So your 404 doc is what needs debugging. While you are
downloading Apache Scout, you may want to check out "errpage.pl" as well.
This script will send the client a custom error page and email the webmaster
the error as well, along with all available environment variables.

Aloha
Davis