Re: URL redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux