At 5/17/01 2:44:56 PM, HD <[EMAIL PROTECTED]> wrote:
#  I'm not even sure how you got Apache to run with this
#  configuration (have you tried Apache.exe -t?).
#
#  ==> Usually I double click the apache.exe file.  I
#  just tried your cmd the msg is: syntax OK, that's it.
#
#
#  Include
#  "c:/hqbin/apache/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto"
#  ==> Tomcat doesn't have to be installed under Apache
#  dir. right?  (just make sure)

That's just my configuration. And - my mistake - it should be

c:\tomcat\conf\mod_jk.conf

-auto means it's auto-generated doh!

#  LoadModule jk_module modules/mod_jk.dll
#
#  (notice that I've used .dll rather than so)
#  ==> Got this
#
#  I put the following 2 lines into httpd.conf file:
#
#  LoadModule jk_module modules/mod_jk.dll

That's also in the mod_jk.conf file - why don't you just look at the file?

#  Include "c:\tomcat\conf\mod_jk.conf-auto"
#
#  I have no idea about the rest, although you should
#  look at the line for the examples in the include file.
#
#  ==> I don't either but when I read the instructions in
#  the Tomcat website, I did what was there.
#
#  With the new setup, apache still doesn't talk to
#  tomcat.

I bet it does. Try this:

http://localhost/examples/jsp/

and clicking on the examples there

#  One more thing, I put a dir named "schart" under
#  tomcat/webapps/ here I have my jsp files.
#  If I want to test Apache - Tomcat communication, I go
#  to http://localhost/schart/test.jsp, is this correct?
#  The error log tells me that
#  c:/apache/htdocs/schart/test.jsp does not exist
#  I changed the DocumentRoot in the httpd.conf
#  file to point to C:/apache (the original point to
#  c:/apache/htdocs)

Roger


Reply via email to