Re: httpd allow overide?

From: Gordon Burditt (gordon_at_hammy.burditt.org)
Date: 07/17/04


Date: 17 Jul 2004 01:50:49 GMT


>I am in the httpd file in the Apache folder and need to change the
>part that says AllowOverride from None to All, so that when I create a
>.htaccess file it wont ignore it.
>
>However in the httpd file there are a few different sections where it
>has found the AllowOverride code.

So, what directories do you intend to put your .htaccess files in?
In the icons directory? probably not.
In the Apache manual directory? probably not.
In the cgi-bin directory? maybe.
In all other directories without their own sections? Maybe, but that
        already says "allowoverride all".
In another directory that has its own section, but which you didn't
        show here? Probably.

                                        Gordon L. Burditt

>
><Directory />
> Options FollowSymLinks
> AllowOverride All
></Directory>
>
>
>- - -
>
>#
># AllowOverride controls what directives may be placed in .htaccess
>files.
># It can be "All", "None", or any combination of the keywords:
># Options FileInfo AuthConfig Limit
>#
> AllowOverride All
>
>- - -
>
>
>Alias /icons/ "C:/ApacheGroup/Apache2/icons/"
>
><Directory "C:/ApacheGroup/Apache2/icons">
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
></Directory>
>
>
>- - -
>
>
>AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$
>"C:/ApacheGroup/Apache2/manual$1"
>
><Directory "C:/ApacheGroup/Apache2/manual">
> Options Indexes
> AllowOverride None
> Order allow,deny
> Allow from all
>
> <Files *.html>
> SetHandler type-map
> </Files>
>
>
>- - -
>
>
><Directory "C:/ApacheGroup/Apache2/cgi-bin">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
></Directory>
>
>- - -
>
>
>



Relevant Pages

  • httpd allow overide?
    ... .htaccess file it wont ignore it. ... However in the httpd file there are a few different sections where it ... has found the AllowOverride code. ... Options Indexes MultiViews ...
    (comp.lang.php)
  • Re: .htaccess in Sarge
    ... I'm not sure what I'm missing. ... Do you have an "AllowOverride None" directive anywhere in your ... other tricks in the .htaccess file without restarting the apache ... is better to simply place the authentication configuration directives ...
    (Debian-User)
  • Re: Apache issue
    ... Check to see if selinux is blocking Apache from reading you .htaccess file. ... >AllowOverride All ... I've configured the access file as follow: ...
    (Focus-Linux)