I am using Tomcat 4.0.3 with Java SDK 1.4.0 along with Apache 1.3.24. These are all 
running on a RedHat 7.2 box on which I do have root access. 

I have followed the readme and install files and managed to get Tomcat working 
standalone. Then I installed mod_webapp as a shared object for Apache and edited my 
httpd.conf file to use that module:

*********************
LoadModule webapp_module /etc/httpd/modules/mod_webapp.so
AddModule mod_webapp.c

<IfModule mod_webapp.c>
    WebAppConnection conn      warp  127.0.0.1:8008
    WebAppDeploy     examples    conn  /examples
    WebAppDeploy     manager     conn  /manager
    WebAppInfo /webapp-info
</IfModule>
*********************

I am able to access tomcat by going to the URL myhost.mydomain.com:8080 and I can 
access $tomcat_root/examples and $tomcat_root/manager by going to 
myhost.mydomain.com/examples/ and myhost.mydomain.com/manager/ respectively. 

What I would like to do however, is allow .jsp files (and eventually servlets as well) 
in my html root. Currently if I have a file such as myhost.mydomain.com/foo.jsp, 
apache returns it as source text. I have looked for a way to tell apache that if it 
finds a jsp file it should send it to tomcat for processing, but all I have found on 
the web and in newsgroups is how to do it using either jserv or jk. Current 
documentation has recommended using webapp as a connector, which is why I installed 
it, but does it disallow me from having jsp's in my docroot? Any pointers would be 
appreciated. 

Thanks in advance.

-Brian

Reply via email to