Apache redirect problems with favicon on OpenClinica - apache

We have an OpenClinica system running on our webserver. It is configured to run on https://www.ourdomain.com/OpenClinica/ . Since our server is secured with SSL, we have also configured an Apache redirect to forward all http connections to the https version. It is of note that everything ran fine up until (seemingly) the most recent Firefox and Chrome updates. We have not changed any server configurations in the past few weeks that are likely to be an error source.
The new problem is that after logging into the system, any links that are clicked (show all study subjects, manage anything, ...) are likely to throw you out to the login page again. I say likely because there is no apparent pattern emerging - sometimes no links will be available without being thrown to the login page, sometimes a user can navigate two or three menus before being thrown out.
The behavior is also not consistent across browsers and computers (despite checking that all testing computers have the same browser versions): On my machine both of our servers do not work properly in Firefox and Chrome, but do work flawlessly in IE and Edge. On another machine, one system does not work on Firefox and Chrome (but does on IE and Edge), but the other one works across all browsers.
First off, here's the Apache config:
<VirtualHost *:80>
ServerAlias www.ourdomain.com
Redirect permanent / https://www.ourdomain.com
</VirtualHost>
<VirtualHost *:443>
ServerName www.ourdomain.com
SSLEngine On
SSLProxyEngine On
SSLCertificateFile /usr/local/cert.pem
SSLCertificateKeyFile /usr/local/privateKey.pem
ProxyPreserveHost On
ProxyPass /OpenClinica/favicon.ico https://localhost:8443/OpenClinica/
ProxyPassReverse /OpenClinica/favicon.ico https://localhost:8443/OpenClinica/
ProxyPass /OpenClinica/ https://localhost:8443/OpenClinica/
ProxyPassReverse /OpenClinica/ https://localhost:8443/OpenClinica/
ProxyPass / https://localhost:8443/OpenClinica/
ProxyPassReverse / https://localhost:8443/OpenClinica/
</VirtualHost>
I strongly think that there's a problem here. Let me explain the favicon redirect: When it is not present, all tested browsers will just display the favicon.ico file in their viewport upon login (or throw an error page if the favicon.ico is not present where expected). I realize that is not regular behavior and likely the root of the problem.
Below are the relevant access logs of my recent attempts. What I did was
Login
Click on "List all patients"
The system's reaction was to throw me out three times. On my last attempt the patient list was successfully displayed without me being redirected back to the landing page.
# Login
127.0.0.1 - - [06/Nov/2018:08:24:52 +0100] "POST /OpenClinica/j_spring_security_check HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:52 +0100] "GET /OpenClinica/ HTTP/1.1" 200 200
127.0.0.1 - - [06/Nov/2018:08:24:52 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:52 +0100] "GET /OpenClinica/MainMenu HTTP/1.1" 200 7860
127.0.0.1 - - [06/Nov/2018:08:24:53 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
# Failed attempt
127.0.0.1 - - [06/Nov/2018:08:24:53 +0100] "GET /OpenClinica/ListStudySubjects HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:53 +0100] "GET /OpenClinica/pages/login/login HTTP/1.1" 200 3656
127.0.0.1 - - [06/Nov/2018:08:24:54 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:54 +0100] "GET /OpenClinica/RssReader HTTP/1.1" 200 618
127.0.0.1 - - [06/Nov/2018:08:24:54 +0100] "GET /OpenClinica/pages/login/login;jsessionid=3B4533DD528207EDE047FF5F03A67306 HTTP/1.1" 200 3656
# Login
127.0.0.1 - - [06/Nov/2018:08:24:55 +0100] "POST /OpenClinica/j_spring_security_check HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:55 +0100] "GET /OpenClinica/ HTTP/1.1" 200 200
127.0.0.1 - - [06/Nov/2018:08:24:55 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:55 +0100] "GET /OpenClinica/MainMenu HTTP/1.1" 200 7860
127.0.0.1 - - [06/Nov/2018:08:24:56 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
# Failed attempt
127.0.0.1 - - [06/Nov/2018:08:24:56 +0100] "GET /OpenClinica/ListStudySubjects HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:56 +0100] "GET /OpenClinica/pages/login/login HTTP/1.1" 200 3656
127.0.0.1 - - [06/Nov/2018:08:24:57 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:57 +0100] "GET /OpenClinica/RssReader HTTP/1.1" 200 618
127.0.0.1 - - [06/Nov/2018:08:24:57 +0100] "GET /OpenClinica/pages/login/login;jsessionid=61B9ABF7FADA8BE010E7BA19B842D3D0 HTTP/1.1" 200 3656
# Login
127.0.0.1 - - [06/Nov/2018:08:24:58 +0100] "POST /OpenClinica/j_spring_security_check HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:58 +0100] "GET /OpenClinica/ HTTP/1.1" 200 200
127.0.0.1 - - [06/Nov/2018:08:24:58 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:58 +0100] "GET /OpenClinica/MainMenu HTTP/1.1" 200 7860
127.0.0.1 - - [06/Nov/2018:08:24:59 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
# Failed attempt
127.0.0.1 - - [06/Nov/2018:08:24:59 +0100] "GET /OpenClinica/ListStudySubjects HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:24:59 +0100] "GET /OpenClinica/pages/login/login HTTP/1.1" 200 3656
127.0.0.1 - - [06/Nov/2018:08:25:00 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:25:00 +0100] "GET /OpenClinica/RssReader HTTP/1.1" 200 618
127.0.0.1 - - [06/Nov/2018:08:25:00 +0100] "GET /OpenClinica/pages/login/login;jsessionid=7E5E5BAABF88A67655DF63968E8612A3 HTTP/1.1" 200 3656
# Login
127.0.0.1 - - [06/Nov/2018:08:25:01 +0100] "POST /OpenClinica/j_spring_security_check HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:25:01 +0100] "GET /OpenClinica/ HTTP/1.1" 200 200
127.0.0.1 - - [06/Nov/2018:08:25:01 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
127.0.0.1 - - [06/Nov/2018:08:25:01 +0100] "GET /OpenClinica/MainMenu HTTP/1.1" 200 7860
127.0.0.1 - - [06/Nov/2018:08:25:02 +0100] "GET /OpenClinica/includes/new_cal/skins/aqua/theme.css HTTP/1.1" 200 1609
127.0.0.1 - - [06/Nov/2018:08:25:02 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -
# Successful attempt
127.0.0.1 - - [06/Nov/2018:08:25:03 +0100] "GET /OpenClinica/ListStudySubjects HTTP/1.1" 200 17796
127.0.0.1 - - [06/Nov/2018:08:25:04 +0100] "GET /OpenClinica/favicon.ico HTTP/1.1" 302 -

I think tomcat by default looks in the root-folder of the app for the favicon. In the case of OpenClinica it's not there, but in /OpenClinica/images/favicon.ico. You may want to copy it from there one level up.

Related

apache access logs too many access entry

I checked the access_log '/var/log/virtualmin/example.com_access_log'
and I found literally thousands of lines of the below (every second 15-20 request)
please guide me for this issue
access_log entry:
106.85.76.233 - - [22/Dec/2021:11:46:54 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
111.41.19.48 - - [22/Dec/2021:11:46:54 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
182.118.236.117 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
220.249.144.67 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
115.49.58.17 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
180.175.194.184 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
120.231.206.74 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
122.96.46.45 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
223.153.5.236 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
223.104.95.33 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
14.116.38.17 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
49.73.248.176 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
112.3.89.82 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
61.140.176.228 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
117.61.30.163 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
36.6.223.248 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
122.96.32.41 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
112.53.236.204 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
39.170.224.90 - - [22/Dec/2021:11:46:55 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
106.114.45.168 - - [22/Dec/2021:11:46:56 +0100] "GET /my-isp-provider/ HTTP/1.1" 200 5683 "-" "Go-http-client/1.1"
Usually "Go-http-client/1.1" (1) indicate the access from bot o crawlers.
Could be Google indexing your site, but since most of the IPs are from china and all of them are asking for the same URL, probably are bonet scans or a DoS attack.
https://user-agents.net/string/go-http-client-1-1

MobileFirst 7.1 runtime not visible while accessing it from ihs

we are using liberty profile and when i am trying to access MobileFirst console from Appserver it is working fine but when i am trying to access it from IHS i am able to access mobilefirst console but i am not able to see mobilefirst runtime.
this link images show worklight console accessing through ihs
access.logs of ihs
127.0.0.1 - - [30/Jan/2017:11:33:19 +0300] "GET /appcenterconsole/console.html HTTP/1.1" 200 1030
127.0.0.1 - - [30/Jan/2017:11:33:20 +0300] "GET /appcenterconsole/dojo/appcenter/templates/Main.html HTTP/1.1" 200 1509
127.0.0.1 - - [30/Jan/2017:11:33:20 +0300] "GET /appcenterconsole/services?action=endpoint HTTP/1.1" 200 66
127.0.0.1 - - [30/Jan/2017:11:33:20 +0300] "GET /appcenterconsole/dojo/appcenter/templates/ApplicationsList.html HTTP/1.1" 200 2224
127.0.0.1 - - [30/Jan/2017:11:33:20 +0300] "GET /appcenterconsole/services/service/userAndConfigInfo?request.preventCache=1485765200702 HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:33:20 +0300] "GET /appcenterconsole/services/service/directory?pageSize=15&fromIndex=0&orderBy=label&isActive=any&isInstaller=any&isRecommended=any&isReadyForProd=any&isRTWAnnotated=any&isAppLink=any&request.preventCache=1485765200896 HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:33:26 +0300] "GET /appcenterconsole/console.html HTTP/1.1" 200 1030
127.0.0.1 - - [30/Jan/2017:11:33:26 +0300] "GET /appcenterconsole/dojo/appcenter/templates/Main.html HTTP/1.1" 200 1509
127.0.0.1 - - [30/Jan/2017:11:33:26 +0300] "GET /appcenterconsole/services?action=endpoint HTTP/1.1" 200 66
127.0.0.1 - - [30/Jan/2017:11:33:26 +0300] "GET /appcenterconsole/dojo/appcenter/templates/ApplicationsList.html HTTP/1.1" 200 2224
127.0.0.1 - - [30/Jan/2017:11:33:26 +0300] "GET /appcenterconsole/services/service/userAndConfigInfo?request.preventCache=1485765206923 HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:33:27 +0300] "GET /appcenterconsole/services/service/directory?pageSize=15&fromIndex=0&orderBy=label&isActive=any&isInstaller=any&isRecommended=any&isReadyForProd=any&isRTWAnnotated=any&isAppLink=any&request.preventCache=1485765207144 HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole HTTP/1.1" 302 -
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs/require.min.js HTTP/1.1" 200 7390
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/index.html HTTP/1.1" 302 -
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /favicon.ico HTTP/1.1" 404 270
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/login.html HTTP/1.1" 200 3261
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs-dplugins/i18n.js HTTP/1.1" 200 1880
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/mf-ui-css-foundation/dist/styles/extensions/header.css HTTP/1.1" 200 504
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/css/login.css HTTP/1.1" 200 1837
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/js/login/login.js HTTP/1.1" 200 1259
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/locale HTTP/1.1" 200 18
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs-dplugins/i18n.js HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs-dplugins/i18n/build.js HTTP/1.1" 200 1187
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs-dplugins/i18n/common.js HTTP/1.1" 200 1036
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/libs/requirejs-dplugins/i18n/parentLocale.js HTTP/1.1" 200 429
127.0.0.1 - - [30/Jan/2017:11:42:07 +0300] "GET /worklightconsole/201602212243/js/login/nls/login.js HTTP/1.1" 200 737
127.0.0.1 - - [30/Jan/2017:11:42:21 +0300] "GET /worklightconsole/201602212243/css/login.css HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:42:21 +0300] "GET /worklightconsole/201602212243/libs/mf-ui-css-foundation/dist/styles/extensions/header.css HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "POST /worklightconsole/j_security_check HTTP/1.1" 302 -
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/index.html HTTP/1.1" 200 1640
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/201602212243/css/app-layer.css HTTP/1.1" 200 6462
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/201602212243/js/main.js HTTP/1.1" 200 46380
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/locale HTTP/1.1" 200 18
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/201602212243/js/css/layer.css HTTP/1.1" 200 7585
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/201602212243/js/nls/main_root.js HTTP/1.1" 200 7225
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/201602212243/libs/angular-layer.min.js HTTP/1.1" 200 75558
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/services?action=endpoint HTTP/1.1" 200 59
127.0.0.1 - - [30/Jan/2017:11:42:44 +0300] "GET /worklightconsole/services?action=userinfo HTTP/1.1" 200 85
127.0.0.1 - - [30/Jan/2017:11:42:43 +0300] "GET /worklightconsole/services/management-apis/1.0/loginAudit HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:42:44 +0300] "GET /worklightconsole/services/management-apis/1.0/runtimes?fullInfo=true HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/index.html HTTP/1.1" 200 1640
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/css/app-layer.css HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/libs/requirejs/require.min.js HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/js/main.js HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/locale HTTP/1.1" 200 18
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/js/css/layer.css HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/libs/angular-layer.min.js HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/201602212243/js/nls/main_root.js HTTP/1.1" 304 -
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/services?action=endpoint HTTP/1.1" 200 59
127.0.0.1 - - [30/Jan/2017:11:53:29 +0300] "GET /worklightconsole/services?action=userinfo HTTP/1.1" 200 85
127.0.0.1 - - [30/Jan/2017:11:53:28 +0300] "GET /worklightconsole/services/management-apis/1.0/loginAudit HTTP/1.1" 500 -
127.0.0.1 - - [30/Jan/2017:11:53:29 +0300] "GET /worklightconsole/services/management-apis/1.0/runtimes?fullInfo=true HTTP/1.1" 500 -
Try this, not sure it might resolve it. Put your External IHS domain in the application runtime to make it accessible.

Redmine: Reset connection from apache when creating new project or add new task

I've installed Redmine v2.5.1 but have some problems: When I try to create a new project, it resets the connection from Apache.
I've tried to use a different version of Passanger (4.0.44, 4.0.43) and Apache but I'm still receiving the message "Request header read timeout" when I try to create a new project.
Apache version - Apache/2.4.9
Thanks.
Passanger log:
62.80.171.162 - - [11/Jun/2014:15:30:46 +0300] "GET / HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:49 +0300] "GET /stylesheets/jquery/jquery-ui-1.9.2.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:49 +0300] "GET /stylesheets/application.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:49 +0300] "GET /javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:49 +0300] "GET /javascripts/application.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /projects HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /stylesheets/jquery/jquery-ui-1.9.2.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /stylesheets/application.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /javascripts/application.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /images/add.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /images/fav.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:51 +0300] "GET /images/feed.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /projects/new HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /stylesheets/jquery/jquery-ui-1.9.2.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /stylesheets/application.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /javascripts/application.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /javascripts/jstoolbar/jstoolbar-textile.min.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /javascripts/jstoolbar/lang/jstoolbar-en.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /stylesheets/jstoolbar.css?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /javascripts/project_identifier.js?1402487614 HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_strong.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_em.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_ins.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_del.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_code.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_h1.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_h2.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_h3.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_ul.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_ol.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_bq.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_bq_remove.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_pre.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_link.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/jstoolbar/bt_img.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:30:52 +0300] "GET /images/help.png HTTP/1.1" 304 -
62.80.171.162 - - [11/Jun/2014:15:31:17 +0300] "-" 408 -
62.80.171.162 - - [11/Jun/2014:17:42:22 +0300] "-" 408 -
apache log:
[Wed Jun 11 17:51:19.406025 2014] [authz_core:debug] [pid 15518:tid 3036814192] mod_authz_core.c(802): [client 62.80.171.162:17937] AH01626: authorization result of Require all granted: granted, referer: example.com
[Wed Jun 11 17:51:19.406050 2014] [authz_core:debug] [pid 15518:tid 3036814192] mod_authz_core.c(802): [client 62.80.171.162:17937] AH01626: authorization result of <RequireAny>: granted, referer: example.com
[Wed Jun 11 17:51:19.406821 2014] [authz_core:debug] [pid 15620:tid 3020028784] mod_authz_core.c(802): [client 62.80.171.162:18234] AH01626: authorization result of Require all granted: granted, referer: http://example.com/projects/new
[Wed Jun 11 17:51:19.406863 2014] [authz_core:debug] [pid 15620:tid 3020028784] mod_authz_core.c(802): [client 62.80.171.162:18234] AH01626: authorization result of <RequireAny>: granted, referer: http://examle.com/projects/new
[Wed Jun 11 17:51:54.811971 2014] [reqtimeout:info] [pid 15518:tid 3028421488] [client 62.80.171.162:13357] AH01382: Request header read timeout
a2dismod reqtimeout
try disabling this module

Apache > Setup Server Side Includes > OSX Snow Leopard > Still Not Working

I have researched this for about 2+ hours including 1+ hour of preparing this report (I must be a slow worker, considering I haven't slept in 24 hours :-P)
The virtual server side include works in Dreamweaver (except for image rendering), but does not work when I browse to the web page.
<!--#include virtual="/partialHtml/businessResult.shtml" -->
I realize that I have overridden far too many configuration settings (and if there's a simpler and more elegant way, perhaps just using a .htaccess file in ~/Sites/mysite.com/ then please also comment) ;-)
Starting from the top (1) sudo nano /etc/apache2/httpd.conf
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
(2) sudo nano /etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
<Directory /Users/tidy/Sites/mysite.com>
Options +FollowSymlinks +SymLinksIfOwnerMatch +Includes
DirectoryIndex index.htm
AllowOverride All
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
DocumentRoot /Users/tidy/Sites/mysite.com
ServerName mysite.local
ErrorLog "/Users/tidy/Sites/mysite.com/log/error_log"
CustomLog "/Users/tidy/Sites/mysite.com/log/access_log" common
</VirtualHost>
(3) sudo nano /private/etc/apache2/users/tidy.conf
<Directory "/Users/tidy/Sites/">
Options +Indexes +MultiViews +FollowSymlinks +SymLinksIfOwnerMatch +Includes
AllowOverride All
Order allow,deny
Allow from all
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
(4) sudo nano ~/Sites/mysite.com/.htaccess
AddType text/html .shtml
AddHandler server-parsed .shtml
DirectoryIndex index.html index.htm
Options +Includes
XBitHack on
I also tried to use XBitHack on by doing chmod +x ~/Sites/mysite.com/partialHtml/businessResult.html and then including that file (apparently it makes .html file server side includes efficient, if you don't want to use .shtml files)
Obviously I'm doing a sudo apachectl configtest to make sure everything's okay.
I get a warning (that I've tried to get rid of) but the syntax is OK.
httpd: Could not reliably determine the server's fully qualified domain name, using complexity.local for ServerName
Syntax OK
Then a sudo apachectl restart
Here is my most recent activity in cat ~/Sites/mysite.com/log/access_log
::1 - - [08/Jan/2013:12:11:05 +0000] "OPTIONS * HTTP/1.0" 200 -
::1 - - [08/Jan/2013:12:11:07 +0000] "OPTIONS * HTTP/1.0" 200 -
::1 - - [08/Jan/2013:12:11:08 +0000] "OPTIONS * HTTP/1.0" 200 -
::1 - - [08/Jan/2013:12:11:15 +0000] "OPTIONS * HTTP/1.0" 200 -
::1 - - [08/Jan/2013:12:11:16 +0000] "OPTIONS * HTTP/1.0" 200 -
::1 - - [08/Jan/2013:12:11:17 +0000] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [08/Jan/2013:12:12:03 +0000] "GET / HTTP/1.1" 200 3924
127.0.0.1 - - [08/Jan/2013:12:12:03 +0000] "GET /css/site.css HTTP/1.1" 200 3077
127.0.0.1 - - [08/Jan/2013:12:12:03 +0000] "GET /css/bootstrap.css HTTP/1.1" 200 124223
127.0.0.1 - - [08/Jan/2013:12:12:03 +0000] "GET /img/logo.png HTTP/1.1" 200 19217
127.0.0.1 - - [08/Jan/2013:12:12:04 +0000] "GET /img/searchFormGradient.gif HTTP/1.1" 200 501
127.0.0.1 - - [08/Jan/2013:12:12:04 +0000] "GET /img/glyphicons-halflings-white.png HTTP/1.1" 200 8777
127.0.0.1 - - [08/Jan/2013:12:12:04 +0000] "GET /img/headerGradient.png HTTP/1.1" 200 216
127.0.0.1 - - [08/Jan/2013:12:12:04 +0000] "GET /js/bootstrap.min.js HTTP/1.1" 200 31596
::1 - - [08/Jan/2013:12:12:14 +0000] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET / HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /css/bootstrap.css HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /img/logo.png HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /css/site.css HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /img/headerGradient.png HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /img/glyphicons-halflings-white.png HTTP/1.1" 304 -
127.0.0.1 - - [08/Jan/2013:12:12:18 +0000] "GET /img/searchFormGradient.gif HTTP/1.1" 304 -
The HTTP/1.1 304 code is HTTP Error 304 - Not modified which isn't an error, it's a signal from the server to the browser, that the current content hasn't changed since the last request.
As you can see from the GET requests, there's no sign of /partialHtml/businessResult.shtml
Here is my most recent activity in cat ~/Sites/mysite.com/log/error_log
[Tue Jan 08 11:24:49 2013] [error] [client 127.0.0.1] File does not exist: /Users/tidy/Sites/mysite.com/favicon.ico
And after all of that... the Server Side Include mechanism is not working :-(
Any assistance is greatly appreciated.
Tidy.
I think I have the solution to my problem.
I was having the same problem with Server Side Includes on Windows 7, because I was under the false impression that only the included file has to have an .shtml extension.
Because the line:
<!--#include file="partialHtml/businessResult.shtml" -->
Was in a file called:
index.html
The server side include module was not pre-processing the file.
After I changed index.html to index.shtml the server side include module correctly
pre-processed everything.
TL;DR - The file that includes a server side include has to have a .shtml extension.

mod_proxy can handle GET response with params (using tomcat as backend)

i have Apache reverse proxy that is forwording requests to backend Apache that using mod_jk to connect tomcat , the application is in java/jsps
in the Apache reverse proxy i have this configuration that works when there are request with out parameters in the GET request :
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /users/ http://1x2.xxx.4.xx:5xxxx/jsp/app/New/
ProxyPassReverse /users/ http://1x2.xxx.4.xx:5xxxx/jsp/app/New/
CustomLog /home/Apache/logs/proxy_log common
the mod_proxy log :
1xx.1xx.3.xx - - [20/Nov/2012:14:07:54 +0200] "GET /users/ HTTP/1.1" 200 3547
1xx.1xx.3.xx - - [20/Nov/2012:14:07:57 +0200] "GET /users/ HTTP/1.1" 200 3547
1xx.1xx.3.xx - - [20/Nov/2012:14:07:58 +0200] "GET /users/index.jsp?event=pi&id=&p= HTTP/1.1" 200 3615
1xx.1xx.3.xx - - [20/Nov/2012:14:08:02 +0200] "GET /users/ HTTP/1.1" 200 3547
1xx.1xx.3.xx - - [20/Nov/2012:14:08:07 +0200] "GET /users/index.jsp?event=pi&id=test&p=test HTTP/1.1" 200 3615
1xx.1xx.3.xx - - [20/Nov/2012:14:16:48 +0200] "GET /users/ HTTP/1.1" 200 3547
1xx.1xx.3.xx - - [20/Nov/2012:14:27:05 +0200] "GET /users/index.jsp?event=pi&id=test&p=test HTTP/1.1" 302 -
1xx.1xx.3.xx - - [20/Nov/2012:14:27:05 +0200] "GET /jsp/app/New/Home.jsp?event=Validated HTTP/1.1" 404 306
1xx.1xx.3.xx - - [20/Nov/2012:14:29:25 +0200] "GET /users/index.jsp?event=pi&id=test&p=test HTTP/1.1" 302 -
1xx.1xx.3.xx - - [20/Nov/2012:14:29:25 +0200] "GET /jsp/app/New/Home.jsp?event=Validated HTTP/1.1" 404 306
1xx.1xx.3.xx - - [20/Nov/2012:15:11:37 +0200] "GET /users/ HTTP/1.1" 200 3547
1xx.1xx.3.xx - - [20/Nov/2012:15:11:44 +0200] "GET /users/index.jsp?event=pi&id=test&p=test HTTP/1.1" 302 -
1xx.1xx.3.xx - - [20/Nov/2012:15:11:45 +0200] "GET /jsp/app/New/Home.jsp?event=Validated HTTP/1.1" 404 306
as you can see each time it getting response from :
"GET /jsp/app/New/Home.jsp?event=Validated HTTP/1.1" 404 306
it failed
the page is working when i try to work with it directly without the proxy server .
You need to use Apache Httpd v2.2+ and specify the 'nocanon' option on the ProxyPass config, which tells Apache not to canonicalise the request query string:
ProxyPass /users/ http://1x2.xxx.4.xx:5xxxx/jsp/app/New/ nocanon