Setup proxying and use the P flag in your rewrite. On Feb 28, 2008, at 3:36 AM, Melanie Pfefer wrote:
Hello, a servlet is running on port 9000 while apache in running on port 80. The first request I received is to have http://server1/OpenObject?doc=ERW changed to http://server1:9000/OpenObject?doc=ERW I changed it using RewriteEngine On RewriteRule ^/(OpenObject.*) http://server1:9000/$1 [R=301,L] Is there a way to change this behavior so that users who type http://server1/OpenObject?doc=ERW will receive the same content of http://server1:9000/OpenObject?doc=ERW but the URL does not change (stays http://server1/OpenObject?doc=ERW) thanks ___________________________________________________________Yahoo! Answers - Got a question? Someone out there knows the answer. Try itnow. http://uk.answers.yahoo.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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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