httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JúlioMaranhão <>
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

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?



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