You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by RK Paleru <rp...@uncc.edu> on 2003/04/07 02:49:15 UTC

Apache Redirect to Tomcat

Hi,

My Apache is connected to Tomcat using Mod_JK. The redirect from Tomcat
works fine when I access from local machine i.e.,
http://localhost/my_webapp/my_servlet

however, when I try from the internet.....

http://mydomain.com/my_webapp/my_servlet does not work.

The static content gets served fine by Apache....any help will be
appreciated.

regards

RK


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache Redirect to Tomcat

Posted by John Turner <to...@johnturner.com>.
Most likely you do not have a correct virtual host in server.xml.  Just as 
you must define a virtual host with a name of mydomain.com in Apache's 
httpd.conf, so must you define one in server.xml.

John

On Sun, 6 Apr 2003 20:49:15 -0400, RK Paleru <rp...@uncc.edu> wrote:

> Hi,
>
> My Apache is connected to Tomcat using Mod_JK. The redirect from Tomcat
> works fine when I access from local machine i.e.,
> http://localhost/my_webapp/my_servlet
>
> however, when I try from the internet.....
>
> http://mydomain.com/my_webapp/my_servlet does not work.
>
> The static content gets served fine by Apache....any help will be
> appreciated.
>
> regards
>
> RK
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org