httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel-Stephane SMORGRAV" <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] rewrite or proxypass?
Date Thu, 18 Oct 2007 06:12:52 GMT
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@bluedog.net] 
Envoyé : jeudi 18 octobre 2007 00:29
À : users@httpd.apache.org
Objet : [users@httpd] 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@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