httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Sasso" <>
Subject Re: [users@httpd] LocationMatch and DirectoryMatch regex
Date Mon, 06 Nov 2006 09:39:31 GMT
2006/11/3, Joshua Slive <>:
> No.  Sometimes you can use mod_rewrite to enforce similar
> restrictions, but you can't, in general, use wildcards like that.

I've resolved using mod_rewrite. here the solution:

RewriteEngine On
RewriteRule ^/(.*) /srv/web/%{LA-U:REMOTE_USER}/$1

<Directory /srv/web>
Options Indexes
Options +FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "WebDAV"
AuthUserFile /etc/apache2/vhost.dav
require valid-user

Stefano S.

Per favore non mandate allegati in Word o PowerPoint.
Si veda
Stefano Sasso
Linux User #330315

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message