httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin ZajÄ…czkowski <msz...@wp.pl>
Subject [users@httpd] Re: One <Directory> tag for public_html in various paths
Date Mon, 03 Nov 2008 21:36:07 GMT
On 2008-11-02 20:44, Eric Covener wrote:
(...)
>> How can I set Options and other configuration for user public_html
>> directories which are placed in a different paths:
>> /home/foo/user1
>> /home/bar/user2
>> /home/2007/aa/user3
>> /home/2007/ab/user4
>> /home/too/2005/z/user5 ?
> 
> It's unclear what the exceptions are supposed to be, but you could
> probably find a short few DirectoryMatches (PCRE instead of shell
> glob) that capture what you want.

Thanks for your answer, but I'm afraid it won't resolve my problem.
Regarding to [1] <DirectoryMatch> (similar to <Directory ~>) has higher
priority than "normal" <Directory> and I won't be able to override it
for only one directory, e.g.:
<Directory /home/foo/user1/public_html>
to give it some other Options.

[1] - http://httpd.apache.org/docs/2.2/sections.html#mergin


Those user's home directories are the caused by having a few group of
users/accounts in the system (students, staff, a few others groups).
They have been there for years and I don't see a chance to change it in
the nearest future (especially I'm not the admin of that system).


Best
Marcin


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