[users@httpd] LocationMatch and DirectoryMatch regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody, someone knows if is it possible to work with
regex-variables in LocationMatch or DirectoryMatch?

for exampe, I have this situation:

Alias /dav /srv/webhome

then every user can access via webdav on his own home dir only
<Location /dav/customer1>
...
DAV On
require user customer1
...
</Location>
<Location /dav/customer2>
...
DAV On
require user customer2
...
</Location>

is it possibile to have something similar, but with no need of
restarting apache every time a user is added?
is it possible to have something like:
<LocationMatch /dav/([a-zA-Z0-9]*)/>
...
DAV On
require user $1 # or something like this
...
</LocationMatch>

thanks
Stefano

--
Stefano Sasso
stesasso@xxxxxxxxx
Linux User #330315
http://www.gnustile.net.org/

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux