I should have answered these particular questions too. > > Inaddition, two more things I want to ask: > > > > 1) I downloaded mod_webapp.so binary. When I start httpd, I got following > > warning: > > > > [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO > > /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module > > might crash under EAPI! (please recompile it with -DEAPI) > > > > So, where can I find the source code for webapp module? Is there anything > I > > need to pay special attention when I recompile this?
Generally speaking, this is not really an issue. But if you dont' like the error, the source is here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ Get the 'connectors' source. > > 2) Though I can not visit http://192.168.1.120, I can still visit > > http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. > > The browser simple print the jsp source code into the screen. This is because it isn't being served by Apache, as per my previous response (below). If you want to serve it properly you will need to do a couple of tricks depending on yoru setup. For example, I am guessing that you are using Apache to do the auto-name redirect for username directories ... is that so? I wrote an article that explains how to set Apache up (though it doesn't mention how to map the user directories), but it will assist in setting up the rest and explain generally how it works. In particular, Page 5 starts the discussion regarding Apache: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_05.jsp Have a look there. Joe ----- Original Message ----- From: "Joseph Molnar" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Cheng Yan" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 11:29 AM Subject: Re: Tomcat - Apache integration problem > Do you want to be serving from the root on the 192.168.1.120 ... and do you > want it to be serving from Tomcat or Apache? > > The way you have it setup right now the root of 192.168.1.120 will have > Apache (not Tomcat) try to serve documents starting at > > /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ > > Based on your config, Tomcat will only serve from 192.168.1.120/examples. > > Joe > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
