PDA

View Full Version : tomcat deployment


BubikolRamios
06-21-2008, 07:35 AM
I have tomcat running as service on windows, and deployed AgroZoo10.war.
The following works:
http://www.agrozoo.net:8080/AgroZoo10

and it hits index.jsp as intended.

How can I get rid of ':8080/AgroZoo10' part in url ?

ok changed:

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

to

<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

in server.xml

now works:http://www.agrozoo.net/AgroZoo10

how to remove 'AgroZoo10' in url ?

Millenia
06-21-2008, 09:14 AM
(Oh wait your on Windows, never mind, sorry!)

BubikolRamios
06-21-2008, 09:29 AM
--> this worked for me:
http://wiki.apache.org/tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe

but think this is not ok, redirection takes time
tryed this linkhttp://markashworth.objectis.net/Tutorial/tomcatChangeROOT, with no success