On Mon, Mar 15, 2010 at 5:19 AM, Milan Tomic <tomicmi...@yahoo.com> wrote:
> 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>

try it and see, then try reversing the order.

-- 
Eric Covener
cove...@gmail.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-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