Forwarding a file, not whole directory

Forwarding a file, not whole directory

am 15.03.2010 10:19:45 von Milan Tomic

Hi everybody,

Some hand is needed here... :)

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

I have this:



ProxyPass ajp://localhost:8010/MyApp/



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



ProxyPass ajp://localhost:8011/MyApp/MyFile.html


ProxyPass ajp://localhost:8010/MyApp/



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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Forwarding a file, not whole directory

am 15.03.2010 15:14:22 von Eric Covener

On Mon, Mar 15, 2010 at 5:19 AM, Milan Tomic wrote:
> Hi everybody,
>
> Some hand is needed here... :)
>
> How can I specify, that request to one file should be redirected?
>
> I have this:
>
>
> =A0
> =A0 =A0ProxyPass =A0ajp://localhost:8010/MyApp/
> =A0

>

>
> and now I would like to add this (request to single file to be redirected=
to THE OTHER tomcat):
>
>
> =A0
> =A0 =A0ProxyPass =A0ajp://localhost:8011/MyApp/MyFile.html
> =A0

> =A0
> =A0 =A0ProxyPass =A0ajp://localhost:8010/MyApp/
> =A0

>


try it and see, then try reversing the order.

--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org