[users@httpd] mod_alias

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

 



I am trying to use the mod_alias module and I have problems getting my Regular _expression_ to work properly.
 
The alias works with the directory tag, however, the aliasmatch does not.  You will note they are similar for testing purposes.
 
Any thoughts?
 

Alias /perm20 "c:/webstatic/perm_drive_20/myfolder/image"

AliasMatch ^/perm(.*) c:/webstatic/perm_drive_$1/myfolder/image

# trying to match anything that is in the range of 00 - 40.

<Directory ~ "^c:/webstatic/perm_drive_[01234]\d/myfolder/image">

AllowOverride None

Order allow,deny

Allow from all

ForceType image/tiff

</Directory>



--
Marc Farrow

[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