Quoth the server, 404.
August 1, 2008 7:37 AM
Subscribe
Apache and Tomcat strangeness... a page in my app throws a 404... but only when using SSL on a single server.
I am having a very strange problem with one of my applications.
The skinny:
- The app is a Java JSP servlet web app running on a proprietary framework and tag library. It's something like a primitive and wonky version of Struts.
- The problem is that going to a certain page in the app gets a 404 but... ONLY on the test server and ONLY when SSL is used.
- It works fine on my machine locally, on another windows machine running tomcat, on our staging server which is solaris (just like the test box), and on the test box if I go to the HTTP address instead of HTTPS.
- Tomcat's catalina log give nothing strange.
- Apache's error log gives entries like the following:
[Thu Jul 31 10:37:53 2008] [error] [client 10.140.225.162] File does not exist: /usr/local/jakarta-tomcat-4.1.30/webapps/myapp/services, referer: https://mytestserver.ca/myapp/services/services.jsp?selServices=MyServices_f2
response when trying from Firefox:
Not Found
The requested URL /sao/services/changeRequestType was not found on this server.
Apache/2.0.49 (Unix) mod_jk/1.2.5 mod_ssl/2.0.49 OpenSSL/0.9.7d PHP/5.0.4 Server at mytestserver.ca Port 443
It looks to me like it is trying to find a /myapp/services/ folder? This folder of course does not exist. That URL ( /services/*) is mapped in my web.xml and has worked fine until now.
I do not have direct access to the servers in question, as I am only the developer. My knowledge of apache and tomcat configuration is very limited.
To my mind, the key question is why does it work on port 80, but not 443? Surely this must be a server config issue?
Any assistance is greatly appreciated and will save me from wasting more time spinning my wheels on this. I have googled to the best of my fu and have turned up nothing.
posted by utsutsu to computers & internet (6 comments total)
posted by jma at 8:09 AM on August 1, 2008