Generally speaking this will cause no problem unless the backend server issues a HTTP 302 (or other redirection) with a Location header that needs the reverse transformation. I do not know if that could ever happen in the case of AJP, but imagine the Tomcat issues a redirect to ajp://theTomcatBox:8009/pub/foobar. The Apache RP needs to translate that URL to http://servername/pub/foobar so that the client is redirected to a location it can actually reach. That is what ProxyPassReverse does. If the application never issues redirects, or if you set "ProxyPreserveHost On", it may not be necessary. -ascs ________________________________ From: Oliver.Schaudt@xxxxxxxxx [mailto:Oliver.Schaudt@xxxxxxxxx] Sent: Thursday, January 05, 2006 1:50 PM To: users@xxxxxxxxxxxxxxxx Subject: AW: [users@httpd] rewrite gurus help? (with mod_proxy_ajp) Hi Axel-Stephane is a RewriteRule ^/pub(.*)$ ajp://theTomcatBox:8009/pub$1 [P] not the similar like ProxyPass /pub ajp://theTomcatBox:8009/pub ProxyPassReverse /pub ajp://theTomcatBox:8009/pub I have had several Apache's from 1.3 to 2.2 which have had no problems with this. Oliver Schaudt ________________________________ --------------------------------------------------------------------- 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