httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Farrow" <>
Subject [users@httpd] mod_alias
Date Mon, 28 Aug 2006 20:01:28 GMT
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


Marc Farrow

View raw message