I believe I've finally advanced past the "lurker" stage to perhaps the "newbie"
stage.
I have a win2k system at the end of a DSL line, and I just want to set up
apache, tomcat, et al. for experimentation. I gave the computer a name, and
I'm using that for my "server name". I've installed Apache, and I can run it
as a service. I have Tomcat 3.2.1 installed, and I think I might have Apache
and Tomcat working together, but I have a feeling there is something missing.
I'm seeing an issue I believe I've seen other people hit, which is that the URL
I type in in the browser has to hardcode the port of "8080". When I do that, I
can get to the servlet and jsp examples. When I don't specify a port (like
"http://mycomputer", I get the Apache "Seeing this instead of the website
you expected?" message.
When I type in "http://mycomputer/examples", I get a directory listing of the
"examples" directory. When I enter "http://mycomputer/examples/jsp", I get the
actual JSP samples page, and I can execute the jsp examples.
When I enter "http://mycomputer:8080", I get the nice "Powered by Tomcat" page,
with the two links to the servlet examples and jsp examples (and others).
I noticed that the DocumentRoot in httpd.conf is still pointing at the Apache
directory, but I'm trying to serve things out of another directory. In fact, I
set up a tree separate from Tomcat that I want to serve things out of. I
successfully pointed tomcat to that other place. Do I have to change the
http.conf DocumentRoot to point to the other place, and if so, what exactly do
I set it to?
Thanks for the help.
--
===================================================================
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)