Hi All, Need some quick help here. I have Apache 1.3.20, Tomcat 4.0.1 and mod_webapp setup to work together. Tomcat only has the WARP connector configured, no HTTP connector or AJP connector. Everything works fine as long as I use the hostname that has been defined by the ServerName directive in the httpd.conf of apache and the hostname is in my /etc/hosts of my client machine or dns. If the host name is not configured in etc/hosts or dns, and I use the IP Address to access my server, the problems begin. I can access apache fine. I can also access my web application fine, as long as I give the full url to the *.html or *.jsp. If I use http://192.168.0.1/mywebapp/ the server starts to process the request fine, and even prompts me for a login (Apache has Basic Authenication configured for this.). However, when tomcat redirects from the http://192.168.0.1/mywebapp/ to the actual .html file (defined in my web.xml) it rewrites the url as http://myservername/mywebapp/index.html. The myservername is not setup to be resolved, so the server never gets found. Is there any way that I can tell tomcat use the what is passed in as the server name, and not rewrite it as a hostname? I need this server to be able to work in both dns, and non dns environments.
Thanks in advance, -- Denny Chambers -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>