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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to