Re: Map URL to directory

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

 




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
</Location>

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

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

ProxyPass /MainPath ajp://tomcat2/MainPath

</VirtualHost>

and when I visit http://apachehttpd1/MainPath/AL tomcat returns 404 not
found :(
-- 
View this message in context: http://old.nabble.com/Map-URL-to-directory-tp32694522p32698123.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


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