How to map a webspace regex folder to a filesystem folder?

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

 



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