httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milan tomic <>
Subject Re: [users@httpd] Map URL to directory
Date Fri, 21 Oct 2011 17:53:42 GMT

Pete Houston wrote:
> Most likely what you are after is the "Alias" directive.

Yes, Alias is what I need. But it doesn't work for me. I have this case:

<VirtualHost *:80>
  DocumentRoot "D:/Dir1/Dir2"

<Location /MainPath/App1>
  ProxyPass  http://tomcat1/MainPath/App1

Alias /MainPath/AL "D:\Dir3\Dir4"
<Directory "D:\Dir3\Dir4">
  Order allow,deny
  Allow from all

<Location /MainPath/>
  ProxyPass  ajp://tomcat2/MainPath/

ProxyPass /MainPath ajp://tomcat2/MainPath


and when I visit http://apachehttpd1/MainPath/AL tomcat returns 404 not
found :(
View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

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