tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srevi...@g88.net
Subject Re: JK Connector url rewrite question
Date Thu, 10 Jul 2003 17:41:14 GMT
> From: Noel Rappin <nrappin@sockeye.com>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: JK Connector url rewrite question
>
> I'm running an Apache/Tomcat combination using mod_jk.  Whenever I enter
> a URL to hit the apache server, somewhere along the redirect to tomcat
> the server portion of the url gets changed.
>
> So, if I type
>
> http://localhost/myapp
>
> I actually get in the browser
>
> http://my.hostname.com/myapp
>
> This even happens if I type the IP address, rather than a hostname.  I'd
> really like it to not do this, and just use the hostname or IP address
> that I type in, but I can't seem to find any hook to change this
> behavior.  Can anybody help?

In your apache configuration, do you have "UseCanonicalName Off"?  If
not, that may be your problem.

-- 
Steve

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


Mime
View raw message