I want apache's docroot to point to a webapp directory
containing static content as well as servlets and
jsp's.

I only have one site on this machine. do i still need
to set up a virtual server in httpd.conf like this:

<VirtualHost 10.0.0.1:80>
        DocumentRoot /web/host1
        ServerName host1.apache.org
        JkMount /*.jsp ajp13
        JkMount /servlet/* ajp13
      </VirtualHost>

and add something like this in server.xml for Tomcat:


      <Host name="host1.apache.org">
        <Context path="" docBase="/web/host1"
debug="0"/>
      </Host>

?

=====
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Reply via email to