| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
 
 Thank You! Steffen
 
 Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |  | 
 | 
| | 
| | 
|  Topic: DirectoryMatch and AliasMatch not working? |  |  
| Author |  |  
| alex.barylski 
 
 
 Joined: 30 Sep 2011
 Posts: 3
 
 
 | 
|  Posted: Fri 30 Sep '11 20:32    Post subject: DirectoryMatch and AliasMatch not working? |   |  
| 
 |  
| I have the following VirtualHost (under WAMP) and it doesn't work - please note the static (non-regex) Alias and Directory DO WORK!!! 
 Can someone help me figure out whats wrong with this config?
 
 
  	  | Code: |  	  | <VirtualHost *:80>
 
 RewriteEngine on
 
 ServerName  temp.dev.local
 ServerAlias temp.dev.local
 DocumentRoot "C:\wamp\www\temp\public"
 
 <Directory "C:\wamp\www\temp\public">
 AllowOverride all
 Order Allow,Deny
 Allow from all
 </Directory>
 
 # Alias /private/application/core/page/assets/images/ "C:/wamp/www/temp/private/application/core/page/assets/images/"
 # <Directory "C:/wamp/www/temp/private/application/core/page/assets/images/">
 
 #http://temp.dev.local/private/application/core/page/assets/images/logo.jpg
 #C:\wamp\www\temp\private\application\core\page\assets\images
 
 AliasMatch ^/private/application/(.*)/(.*)/assets/images/ "C:/wamp/www/temp/private/application/$1/$2/assets/images/"
 <DirectoryMatch "^C:/wamp/www/temp/private/application/(.*)/(.*)/assets/images/">
 Options Indexes FollowSymlinks MultiViews Includes
 AllowOverride None
 Order allow,deny
 Allow from all
 </DirectoryMatch>
 
 </VirtualHost>
 
 | 
 |  |  
| Back to top |  |  
| alex.barylski 
 
 
 Joined: 30 Sep 2011
 Posts: 3
 
 
 |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |