Jonathan Mast wrote:
I'm trying to a subdomain to our site but Tomcat is not finding the index page correctly.Here are my entries into httpd.conf and server.xml: <VirtualHost *> ServerName foo.site.com DocumentRoot /usr/local/apache/htdocs/foo CustomLog /usr/local/apache/logs/foo.site.com_access_log combined ErrorLog /usr/local/apache/logs/redirect.log </VirtualHost> <Host name="foo.site.com" unpackWARs="true" autoDeploy="false" > <Context path="" docBase="/usr/local/apache/htdocs/foo" /> </Host>
I really wouldn't do that. Overlapping the httpd DocumentRoot and a Tomcat docBase will open up a bunch of security issues unless you are extremely careful and know exactly what you are doing.
You don't mention: - httpd version - Tomcat version - how you have linked the two Mark --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
