New Web Applications to Apache-Tomcat Web
I have successfully installed Apache 2.0 +Tomcat 4.1.27 Linux Redhat 7.2
By default I could access all jsps in the examples web-app.
How can I add a new virtual host that should be accessed thru Apache.
Host settings are correct in Tomcat. I could access thru 8080 port.
I have two web sites running on two IPs
I created two corresponding virtual hosts.
I tried changing workers2.properties as follows
# statedemocracy.com > Tomcat
#Uri mapping : myfirstsite.com
[uri:xxx.xxx.xxx.xxx:80/*.jsp]
worker=ajp13:localhost:8009
when I access index.jsp Apache just sends html content and all jsp code.
That means the worker is not set propely.. Apache doesn't jsp request to Tomcat.
Please tell me where I went wrong..
Regards
|