sorry

Tomcat 5.5.1
Apache 1.3.33
Java 1.4.2


On Thu, Feb 28, 2008 at 1:19 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:

> 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: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to