You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by André Malo <nd...@perlig.de> on 2002/10/08 04:08:13 UTC

Re: cvs commit: httpd-2.0/docs/manual/mod mod_mime.xml mod_auth_basic.xml

> nd          2002/10/07 18:46:47

>   Index: mod_mime.xml

[ModMimeUsePathInfo]

>    <context>server config</context>
>    <context>virtual host</context>
>    <context>directory</context>
>   -<context>location</context>
>    <context>.htaccess</context>
>    </contextlist>
>    <override>FileInfo</override>

>   Index: mod_auth_basic.xml

>    <syntax>AuthBasicProvider <em>provider-name</em></syntax>
>    <contextlist>
>      <context>directory</context>
>   -  <context>location</context>
>      <context>.htaccess</context>
>    </contextlist>
>    <override>AuthConfig</override>

whoops. Just looked into the code. Both directives use ACCESS_CONF sope,
so they are allowed if <context>directory</context> only. docs bug or
code bug? 

nd
-- 
Gefunden auf einer "Webdesigner"-Seite:
        > Programmierung in HTML, XML, WML, CGI, FLASH <

# André Malo # http://www.perlig.de/ #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: cvs commit: httpd-2.0/docs/manual/mod mod_mime.xml mod_auth_basic.xml

Posted by André Malo <nd...@perlig.de>.
* Justin Erenkrantz wrote:

> --On Tuesday, October 8, 2002 4:08 AM +0200 André Malo <nd...@perlig.de>
> wrote: 
> 
>> whoops. Just looked into the code. Both directives use ACCESS_CONF
>> sope, so they are allowed if <context>directory</context> only. docs
>> bug or code bug?
> 
> include/http_config.h says:
> 
> #define ACCESS_CONF 64       /**< *.conf inside <Directory> or
> <Location> */ 
> 
> That is the meaning I intended (both directory and location). 

Ok, thanks.
Nevertheless a dumb question: Why aren't they allowed in .htaccess?
I can't see a good reason to disallow the usage of both directives
there. 

nd
-- 
Gefunden auf einer "Webdesigner"-Seite:
        > Programmierung in HTML, XML, WML, CGI, FLASH <

# André Malo # http://www.perlig.de/ #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: cvs commit: httpd-2.0/docs/manual/mod mod_mime.xml mod_auth_basic.xml

Posted by Justin Erenkrantz <je...@apache.org>.
--On Tuesday, October 8, 2002 4:08 AM +0200 André Malo <nd...@perlig.de> wrote:

> whoops. Just looked into the code. Both directives use ACCESS_CONF sope,
> so they are allowed if <context>directory</context> only. docs bug or
> code bug?

include/http_config.h says:

#define ACCESS_CONF 64       /**< *.conf inside <Directory> or <Location> */

That is the meaning I intended (both directory and location).  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org