Results 1 to 3 of 3
I am trying to redirect two apps to tomcat by follwing code but first one is overriding the second one.
Code:
<VirtualHost *:80>
ServerName ec2-50-17-66-31.compute-1.amazonaws.com
ServerPath /app1
JkMount /examples/servlets/* worker1
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-03-2011 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 6
virtual hosting issue
I am trying to redirect two apps to tomcat by follwing code but first one is overriding the second one.
How can I fix it?Code:<VirtualHost *:80> ServerName ec2-50-17-66-31.compute-1.amazonaws.com ServerPath /app1 JkMount /examples/servlets/* worker1 </VirtualHost> <VirtualHost *:80> ServerName ec2-50-17-66-31.compute-1.amazonaws.com ServerPath /app2 JkMount /examples/servlets/* worker2 </VirtualHost>
- 06-03-2011 #2
Define first:
Code:NameVirtualHost *:80
You must always face the curtain with a bow.
- 06-04-2011 #3Just Joined!
- Join Date
- Jan 2006
- Posts
- 6
^I already have it outside the virtualhost section.


1Likes
Reply With Quote
