On 14/11/2001 02:27 pm, "raj" <raj.subramani@clarologic.com> wrote:
> I am trying to set up Apache and Catalina so that they run on different
> machine.
>
> In my Apache httpd.conf, I have
>
> WebAppConnection conn warp <ip of machine running catalina>:8008
> WebAppDeploy foobar conn /foobar
>
> This httpd.conf also has a VirtualHost defined (www.domainame.org)
>
>
> In my server.xml (for Catalina) I have:
>
> <Service name="Tomcat-Apache">
> <Engine className="org.apache.catalina.connector.warp.WarpEngine"
> name="Apache" defaultHost="<ip of machine running apache>"
> debug="0" appBase="webapps">
>
>
> Obviously with just these two set, I cannot get the connection to work.
>
> I get the following when I run my servlet as:
> http://www.domainame.org/foobar/servlet/foo
>
> returns as
>
> http://linux.local/foobar/LoginForm.jsp
>
> What is the "obvious" bit that is missing?
Remove that "defaultHost" thing in your Engine...
Pier
--
To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|