httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bonner <>
Subject [users@httpd] Re: Redirect and ProxyPass or RewriteRule[P]
Date Mon, 31 Oct 2005 21:27:59 GMT
It looks like:  Rewrite will do the trick:

RewriteRule ^/grant/evaluation$ [P]
RewriteRule ^/emp/*)$ [P]
RewriteRule ^/(*.)$ [P]

If anyone has any caveats or comments about this approach, please let
me know.  Thanks.


On 10/31/05, Brian Bonner <> 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         /
> ProxyPassReverse  /
> 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/*)$ /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.
> It looks like the Redirect is not even being handled.
> I'm wondering if there was a way to to use RewriteRule fo handle the
> redirection and proxying of these requests.  I see that there is a way
> to use a [P], but if I use this do I still need to use the ProxyPass?
> How do I handle the ProxyPassReverse?
> Thanks,
> Brian

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message