Re: [users@httpd] Redirect and ProxyPass or RewriteRule[P]

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

 



On 10/31/05, Brian Bonner <bkbonner@xxxxxxxxx> wrote:
> I'm using ProxyPass and ProxyPassReverse to delegate requests from
> Apache 2.0.55 to Tomcat 5.0.30.
>
> Here's what I have:
>
> ProxyPass         /  http://192.168.1.15:8082/internal/
> ProxyPassReverse  /  http://192.168.1.15:8082/finternal/
>
> This works fine, however I also want to add a Redirection for a few
> URLs that used to exist on the old site into the new one.
>
> I tried doing this by adding:
>
> RedirectMatch ^/grant/evaluation$ /resources/evaluation.html
> RedirectMatch ^/emp/int.xyz(.*)$ /employee
>
> The configuration tests ok, but when I try /grant/evaluation, I get an
> error from Tomcat that the url:  /internal/grant/evaluation can't be
> found.

BEFORE the existing ProxyPass directive, add
ProxyPass /grant/evalution !
ProxyPass /emp/int.xyz !

Joshua

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