RE: rewrite or proxypass?

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

 



Could it possibly be this simple?? You probably want to have two virtual hosts, one for port 80 and one for port 8080. In the former, add the following lines:

ProxyRequests Off
ProxyPass http://www.ourcompany.com/ http://www.ourcompany.com:8080/
ProxyPassReverse http://www.ourcompany.com/ http://www.ourcompany.com:8080/

Refer to the mod_proxy documentation for more details.

-ascs

-----Message d'origine-----
De : Patrick Coleman [mailto:pat@xxxxxxxxxxx] 
Envoyé : jeudi 18 octobre 2007 00:29
À : users@xxxxxxxxxxxxxxxx
Objet :  rewrite or proxypass?

Hi,

I don't exactly know if this is a rewrite or proxypass or something else type of thing so I was hoping someone could help.


I have a Tomcat app running on port 8080

I can get to it through

http://www.ourcompany.com:8080

it goes to a login page and the URL displays

http://www.ourcompany.com:8080/login

I would like to be able to just put in

http://www.ourcompany.com

and get

http://www.ourcompany.com/login

Could anyone help me with this?

Thanks.

Pat.

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