I'm using Redhat 7.0, Apache 1.3.20 and Tomcat 3.2.1 with mod_jk.so. So I'm
guessing ApJServMount I'd need to use if instead I chose the mod_jserv
instead of mod_jk. I included mod_jk.conf in my httpd.conf and added the
Host elements in the servers.xml file:
<Host name="mydomain.com">
<Context path="" docBase="/usr/local/apache/htdocs/mydomain.com"
debug="0"/>
</Host>
<Host name="www.mydomain.com">
<Context path="" docBase="/usr/local/apache/htdocs/mydomain.com"
debug="0"/>
</Host>
And I only can hit http://mydomain.com, if I hit http://www.mydomain.com I
get a 404 and an error message on the console saying it can't find the file.
I'm confused.
-----Original Message-----
From: Guido Medina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Virtual Hosting Help! JSP file not found
Did you check in your httpd.conf ?, you must put in the servername
www.yourdomain.com and serveralias yourdomain.com and ApJServMount
/pathtoyourohome localhost:8007/...
I guess...I need more expecifications about your installation, platform,
webserver, etc etc...
----- Original Message -----
From: "Scott Merritt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 2:59 PM
Subject: Virtual Hosting Help! JSP file not found
> I have www.mydomain.com and mydomain.com that I'd like people to be able
to
> hit from their browser, unfortunately only http://mydomain.com is working.
> So I figured I'd try just adding another host entry to the server.xml file
> with the context path="www.mydomain.com". WRONG. That didn't work. Any
> ideas on this? I get:
>
> 2001-05-24 11:54:02 - Ctx( mydomain.com: ): 404 R( +
> /examples/jsp/num/numguess.jsp + null) JSP file not found
>
> It looks like maybe it should be prefixing it with the $TOMCAT_HOME and
> that's why it's not finding the file? But why would it work one time and
> not the other?
>
> Thanks
>