Apache- Tomcat application not functioning from public web access
Hi,
We have an application running under Tomcat 6.x server. From internal LAN access - http://hostname:8080/Appsdir/logonAdmin.html We have also set in for external web access - http://hostname.abc.com/Appsdir/logonAdmin.html This has Apache through mod_jk to Tomcat to service the request. There is a redirect to https SSL through port 80 to port 443 (usual Apache and Tomcat configuration settings) From both internal LAN and external public web access, the URL http://hostname.abc.com/Appsdir/logonAdmin.html gets redirected to https://hostname.abc.com/Appsdir/logonAdmin.html and the application log-in screen appears without any problem. From internal LAN access,the login screen appears and after authentication,it goes into the application without any problem. However, from external public access,the login screen appears, however, after login, it displays only all the html in text format regardless of whichever browser type was used. Apparently, the Apache, Tomcat settings seems correct to bring us to above Apps login screen. What could be the issue? Appreciate assistance as I'm a newby in Linux, Apache, Tomcat, SSL, Java setup. |
what is "text format"? can you show what this means in more detail? Maybe this refers to a missing CSS file or something?
I'd fire up firebug, or Chrome Developer tools and see what is being requested from the server, maybe something in there is 404ing and trying to hit an invalid URI, maybe something hard coded onto port 8080 which is still being successfully reached through the LAN. |
Hi,
Following text gets displayed. Code:
|
Quote:
This seems to be a configuration error on your external connection. My guess is that the apache is forwarding the response as TEXT/PLAIN instead of TEXT/HTML (i don't remember the exact MIME type for HTTP) response and, thus, the browser is displaying as text. |
All times are GMT -5. The time now is 04:08 PM. |