httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Allen <s...@ardishealth.com>
Subject Re: [users@httpd] URL redirection
Date Thu, 28 Feb 2008 09:22:19 GMT
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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message