httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Menke" <brian.me...@lspeed.com>
Subject [users@httpd] apache 2.0.45 tomcat 4.18 mod_jk2
Date Fri, 29 Aug 2003 23:16:06 GMT
Hi everyone..

apache 2.0.45 tomcat 4.18 mod_jk2

I'm having a problem with Virtual host. I thought I had it working but it
seemed to stop working. Here is what I would like to do. I would like to
have several static sites served from the standard apache/htdocs directory,
and jsp sites served from the tomcat/webapps directory.

Everything works fine until I add my jsp virtual host <see below>. When I do
that, www.nnmall2.com is served when I enter www.menkeworld.com and not
www.menkeworld.com (the first one in the virtual hosts list). I've tried a
bunch of different things with the tomcat server.xml file, but to no avail.
Any ideas? The only examples I have found show all the sites living in the
tomcat/webapps directory or the apache/htdocs directory, but not both.

NameVirtualHost *


<VirtualHost *>
    ServerAdmin brian@innovtech.com
    DocumentRoot "c:/Apache2/htdocs/menkeworld"
    ServerName www.menkeworld.com
    DirectoryIndex index.htm
</VirtualHost>

<VirtualHost *>
    ServerAdmin brian@innovtech.com
    DocumentRoot "c:/Apache2/htdocs/angelamenke"
    ServerName www.angelamenke.com
    DirectoryIndex index.htm
</VirtualHost>

<VirtualHost *>
    ServerAdmin brian@innovtech.com
    DocumentRoot "c:/tomcat/webapps/nnmall2"
    ServerName www.nnmall2.com
    <Location "/*">
        JkUriSet worker ajp13:localhost:8009
    </Location>
    DirectoryIndex main.jsp
</VirtualHost>

Thanks in advance for your help.

-Brian Menke


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message