Re: rewrite or proxypass?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Patrick,

Patrick Coleman schrieb:
> 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?

You have to use mod_proxy and those two lines to your conf:

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



Best regards, Robert

- --
Robert Jäschke                                Tel: +49-(0)561-804-6253
Universität Kassel                   E-Mail: jaeschke@xxxxxxxxxxxxxxxx
Wilhelmshöher Allee 73            WWW: http://www.kde.cs.uni-kassel.de
34121 Kassel >>>>>>>>>>>>>>  http://www.bibsonomy.org  <<<<<<<<<<<<<<<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFvo7KNvjYNceXPwRAo/KAJ4pLwHL+mm433wYMJs1xI4ycuc+SQCgpziv
F0DC5aeMQC9liPUZNam+Lvs=
=hv1A
-----END PGP SIGNATURE-----

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