httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] directives in Include-d file in <Directory>
Date Thu, 05 Feb 2009 19:21:05 GMT
Matus UHLAR - fantomas wrote:
> 
> I would like to use the same accesslist for more directories (include it
> more times), but it seems that I can't iclude directives into the
> <Directory> section, but the <Directory> must lie inside of the included
> file.
> 
> Am I right or did I miss something?
> 
In 1.3, I think you are right.
Checking this :
http://httpd.apache.org/docs/1.3/mod/core.html#include
I see that the "Context" says "server config".  That probably means that 
under 1.3, you can only use an Include outside of <Directory> and 
<Location> sections.
In Apache 2.2, you can however use them inside <Directory> sections also :
http://httpd.apache.org/docs/2.2/mod/core.html#include

One more reason to upgrade.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message