thx, I want to install JSP on my Apache document directory, is it possible. sorry I am newbie in JSP, please explain me more detail about what I have done wrong.
----- Original Message ----- From: "staf wagemakers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 6:55 PM Subject: Re: HTTP Status 404 -- Please Help > you've to install the jsp in tomcat not in the apache docroot. > > -- > Staf Wagemakers > > email: staf at patat.org > homepage: http://staf.patat.org > > > On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote: > > I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. > > > > However, I got the following error when try to run a test.jsp. > > > > HTTP Status 404 - /test.jsp > > > > type Status report > > > > message /test.jsp > > > > description The requested resource (/test1.jsp) is not available. > > Apache Tomcat/5.0.19 > > > > Here is my setting: > > > > *workers2.properties* > > -------------------------------------------------------------------------- -- > > -------------------- > > [shm] > > file=/usr/local/apache2/logs/shm.file > > size=1048576 > > > > [workerEnv:] > > info=Global server options > > timing=1 > > debug=0 > > > > # socket channel > > [channel.socket:localhost:8009] > > port=8009 > > host=127.0.0.1 > > > > # worker for the connector > > [ajp13:localhost:8009] > > channel=channel.socket:localhost:8009 > > > > # Uri mapping > > > > [uri:/*.jsp] > > worker=ajp13:localhost:8009 > > > > [uri:/*.do] > > worker=ajp13:localhost:8009 > > > > [uri:/servlet/*] > > worker=ajp13:localhost:8009 > > -------------------------------------------------------------------------- -- > > ----- > > And I added the following line to server.xml > > <Connector port="8009" > > enableLookups="false" redirectPort="8443" debug="0" > > protocol="AJP/1.3" /> > > <Context path="" docBase="/usr/local/apache2/htdocs" debug="0" > > reloadable="true" crossContext="true"/> > > -------------------------------------------------------------------------- -- > > --------------------------------------------------------- > > And Load JK2 module to http.conf > > > > LoadModule jk2_module modules/mod_jk2.so > > -------------------------------------------------------------------------- -- > > -------------------------------------------------------- > > > > Then I make a test.jsp to my apache2 htdocs root which is > > /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp > > > > It returns me the HTTP Status 404. > > > > Please help me on that, do I miss something? > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]