Hi John,

Thanks for the reply. I have fixed the workers.properties and related stuff
in the httpd.conf you pointed out below.

What I want is to see what i see at
www.stpenable.com/se/servlet/se/templates/index.vm to be what I see when I
hit www.stpenable.com Ditto for www.roamware.co.uk to see
www.roamware.co.uk/rwsite/servlet/rwsite/templates/index.vm. These servlet
contexts have just become visible because I removed all the Context entries
in the various <Host...> sections of my server.xml.

thanks

David

> -----Original Message-----
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: 21 August 2003 14:59
> To: Tomcat Users List
> Subject: Re: 2 VirtualHosts same IP address and port on Tomcat not
> working
>
>
>
> I think there's some confusion...you only need this in workers.properties:
>
> # BEGIN workers.properties
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
>
> ".host" = "location of Tomcat"
>
> When I first started trying to connect Tomcat and Apache a year ago, I
> thought I needed an entry for each virtual host in workers.properties.
> I have since learned that this is not true.  Workers.properties only
> defines "where do I find Tomcat" not "which virtual hosts will Tomcat
> accept".  The latter is determined by server.xml.
>
> When I go to http://www.stpenable.com and http://www.stpenable.com/se/ I
> get a directory listing.  What is it that I am supposed to get?
>
> You have "*.shtml" assigned to Tomcat.  Why?  Do you have ".shtml" as a
> servlet mapping in web.xml or something?
>
> I don't think your issues are virtual host related...perhaps if you
> could clarify what it is you want to do, we can help.
>
> John
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to