AllowOverride in <Directory>

This is a discussion on AllowOverride in <Directory> within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, In the documentation of Apache 2.0, it is said that AllowOverride is only available in <Directory> ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2005
Frederik Fouvry
 
Posts: n/a
Default AllowOverride in <Directory>


Hi,

In the documentation of Apache 2.0, it is said that AllowOverride is
only available in <Directory> without regular expressions
(http://httpd.apache.org/docs-2.0/mod...#allowoverride)

+--------------------------------------------------
| Only available in <Directory> sections
| AllowOverride is valid only in <Directory> sections specified
| without regular expressions, not in <Location>, <DirectoryMatch> or
| <Files> sections.
+--------------------------------------------------

Now it seems that it is also not available when wild-cards are used in
the directory path. Can anyone confirm or disconfirm this? If it is
indeed so, I'd say it's an omission in the documentation.

Thanks,

--
Dr. Frederik Fouvry Universität des Saarlandes, Computerlinguistik
Gebäude 17/3.02 - Postfach 15 11 50 - D-66041 Saarbrücken, Germany
telephone: +49(0)681 302 4176 facsimile: +49(0)681 302 4700
fouvry@coli.uni-sb.de http://www.coli.uni-saarland.de/~fouvry/
  #2 (permalink)  
Old 01-14-2005
David Efflandt
 
Posts: n/a
Default Re: AllowOverride in <Directory>

On Wed, 12 Jan 2005, Frederik Fouvry <fouvry@coli.uni-saarland.de> wrote:
>
> Hi,
>
> In the documentation of Apache 2.0, it is said that AllowOverride is
> only available in <Directory> without regular expressions
> (http://httpd.apache.org/docs-2.0/mod...#allowoverride)
>
> +--------------------------------------------------
>| Only available in <Directory> sections
>| AllowOverride is valid only in <Directory> sections specified
>| without regular expressions, not in <Location>, <DirectoryMatch> or
>| <Files> sections.
> +--------------------------------------------------
>
> Now it seems that it is also not available when wild-cards are used in
> the directory path. Can anyone confirm or disconfirm this? If it is
> indeed so, I'd say it's an omission in the documentation.


Give an example of a <Directory> section with a wildcard and example of a
full systen path it fails to work for. I believe that wildcard * does not
include directory separators (like '/'), so the wildcard can only refer to
a single directory in specified system path.
  #3 (permalink)  
Old 01-14-2005
Frederik Fouvry
 
Posts: n/a
Default Re: AllowOverride in <Directory>


| > In the documentation of Apache 2.0, it is said that AllowOverride is
| > only available in <Directory> without regular expressions
| > (http://httpd.apache.org/docs-2.0/mod...#allowoverride)
| >
| > +--------------------------------------------------
| >| Only available in <Directory> sections
| >| AllowOverride is valid only in <Directory> sections specified
| >| without regular expressions, not in <Location>, <DirectoryMatch> or
| >| <Files> sections.
| > +--------------------------------------------------
| >
| > Now it seems that it is also not available when wild-cards are used in
| > the directory path. Can anyone confirm or disconfirm this? If it is
| > indeed so, I'd say it's an omission in the documentation.
|
| Give an example of a <Directory> section with a wildcard and example of a
| full systen path it fails to work for. I believe that wildcard * does not
| include directory separators (like '/'), so the wildcard can only refer to
| a single directory in specified system path.

There are no problems with full paths.

An example of what is not working:

<Directory /home/???/*/public_html>
AllowOverride Options
</Directory>

I can put anything in .htaccess, and the server never complains => the
file is not read.

Frederik Fouvry
  #4 (permalink)  
Old 01-16-2005
Nisse Engström
 
Posts: n/a
Default Re: AllowOverride in <Directory>

Frederik Fouvry<fouvry@coli.uni-saarland.de> wrote:
>
> | > In the documentation of Apache 2.0, it is said that AllowOverride is
> | > only available in <Directory> without regular expressions
> | > (http://httpd.apache.org/docs-2.0/mod...#allowoverride)
> | >
> | > Now it seems that it is also not available when wild-cards are used in
> | > the directory path. Can anyone confirm or disconfirm this? If it is
> | > indeed so, I'd say it's an omission in the documentation.
>
> An example of what is not working:
>
> <Directory /home/???/*/public_html>
> AllowOverride Options
> </Directory>
>
> I can put anything in .htaccess, and the server never complains => the
> file is not read.


NOT confirmed (2.0.52, albeit on Windows 98SE).

Replacing single path components with an "*" or an
apropriate number of "?" makes no difference at all.


--n
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0