[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    [CentOS] OT: virtual host for apache/tomcat servers
From:       James Pifer <jep () obrien-pifer ! com>
Date:       2011-03-29 19:02:48
Message-ID: 1301425369.13134.13.camel () storage ! obrien-pifer ! com
[Download RAW message or body]

I hope someone here can answer my question so I don't have to join
another mailing list, on too many as it is...

I have the following installed:
httpd-2.2.3-43.el5.centos.3
tomcat5-5.5.23

I have a small jsp app that I can hit through apache like:

http://www.mydomain.com/tomcat/myapp.jsp

So tomcat in the url above is the apache proxy address for the tomcat
server. 

I want to setup a virtual host in apache to automatically load this app
if I type:

http://myapp.mydomain.com

I'm having trouble figuring this out. If I try to setup a virtual host,
apache complains that /tomcat is not a valid DocumentRoot. Looking at
tons of docs, but not seeing the solution. 

Any help is appreciated. 

Thanks,
James

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic