Thank you so much, Joe. I am going to read your article now. Meanwhile, let me ask you a few more dumb questions. :)
I am new to this. I have to admit that I don't quite understand your questions. :-( Here is what I want to make sure whether I can do: 1) After tomcat and apache integration, I can visit http://192.168.1.120 2) In my httpd.conf, the DocumentRoot is defined as "/var/apache/htdocs". Is it possible to run jsp under "/var/apache/htdocs"? 3) Is it possible to run jsp under $HOME/public_html. 4) With current settings, I can visit http://192.168.1.120/ROOT, which leads me to $CATALINA_HOME/webapps/ROOT. But I can not run jsp pages under $CATALINA_HOME/webapps/ROOT. is it possible to do this? BTW, I can run jsp under http://192.168.1.120:8080 with no problems at all. Cheng ----- Original Message ----- From: "Joseph Molnar" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Cheng Yan" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 15:54 Subject: Re: Tomcat - Apache integration problem > > > > 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? > > Okay I REALLY need some coffee... The first line should have read: > > " > This is because it isn't being served by Tomcat, as per my previous response > " > > Operative word 'Tomcat' ... the problem is Apache isn't configured to send > the requests down WARP to Tomcat. > > Joe > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
