Dont do a R for redirect ( that tells the users browser to go to this
new url )
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 it
now.
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]