httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JúlioMaranhão <ju...@maranhao.us>
Subject [users@httpd] How to map a webspace regex folder to a filesystem folder?
Date Sat, 17 Mar 2007 00:36:28 GMT
I am trying to map the www folders of projects into a webspace folder.

The folders use this form: C:/projects/name/www
The mapping should be: /projects/name

I am using the following code to specify the filesystem folder options:

<Directory "C:/projects/*/www/">
   Options +Indexes
   Order allow,deny
   Allow from All
</Directory>

The mapping is:

AliasMatch ^/projects/([[:alnum:]\_\-]+)/ C:/projects/$1/www/

name is an alphanumeric string, possibly with - or _ characters

but I only get /projects/name/index.html/index.html/index.html/... in a loop.

Where am I doing wrong?

Cheers

Júlio


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