Forwarding a file, not whole directory

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

 



Hi everybody,

Some hand is needed here... :)

How can I specify, that request to one file should be redirected?

I have this:

<VirtualHost *:80>
  <Location /MyApp/>
    ProxyPass  ajp://localhost:8010/MyApp/
  </Location>
</VirtualHost>

and now I would like to add this (request to single file to be redirected to THE OTHER tomcat):

<VirtualHost *:80>
  <Location /MyApp/myFile.html>
    ProxyPass  ajp://localhost:8011/MyApp/MyFile.html
  </Location>
  <Location /MyApp/>
    ProxyPass  ajp://localhost:8010/MyApp/
  </Location>
</VirtualHost>

is this the right way to achieve this?

Thank you in advance,
Milan



      

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