467,134 Members | 1,023 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,134 developers. It's quick & easy.

httpd allow overide?

Hi.

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.

Do I change all of these sections below or just one of them?

Thanks

John

- - -

<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>

- - -

Jul 17 '05 #1
  • viewed: 3897
Share:
1 Reply
>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>

- - -

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by David Morgenthaler | last post: by
reply views Thread by bruce | last post: by
1 post views Thread by mia456789@yahoo.com.hk | last post: by
2 posts views Thread by Martin Arvidsson, Visual Systems AB | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.