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.
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.
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
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
I want to achieve a svn-root in /var/svn and repositories(projects) in there.
I could get it to work in the browser (http://domain/url gives me "Collection of repositories") but the TortoiseClient is giving me the error mentioned in the title.
I set up a subversion on my ubuntu server by doing the following (shortened):
mkdir /var/svn
svnadmin create /var/svn/test
and my dav_svn.conf looks the following:
<Location /svn>
DAV svn
SVNParentPath /var/svn
SVNListParentPath On
</Location>
I read about sym links possibly causing the problem, so I'll attach my 000-default site as well (it's the standard btw):
<VirtualHost *:80>
ServerAdmin webmaster#localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
I tried like suggested in How do I list all repositories with the SVNParentPath directive on Apache+SVN?
but unfortunately I get another tortoise error then (while I can still see it fine in my browser)
It then gives me "The OPTIONS request returned invalid XML in the response: XML parse error at line 1: no element found"
(and HTTP OPTIONS to that url indeed gives no response body)
Does anyone know what is causing this problem?
Cheers!
Edit: This is the access.log output after trying to reach http://server/svn through tortoise
(with Location /svn)
Notice the 301 .. TortoiseSVN changes the path to 'http://server/svn' without a leading slash, tho I specified to search within 'http://server/svn / '
[10/May/2012:00:42:29 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:29 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:29 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:29 +0200] "PROPFIND /svn HTTP/1.1" 301 516 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:29 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:29 +0200] "PROPFIND /svn HTTP/1.1" 301 516 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "PROPFIND /svn HTTP/1.1" 301 516 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS /svn HTTP/1.1" 301 573 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:42:30 +0200] "OPTIONS / HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
(with Location /svn/)
[10/May/2012:00:36:57 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:57 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:57 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:57 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:58 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4 neon/0.29.6"
[10/May/2012:00:36:58 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:58 +0200] "OPTIONS /svn HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
[10/May/2012:00:36:58 +0200] "OPTIONS / HTTP/1.1" 200 236 "-" "SVN/1.7.4/TortoiseSVN-1.7.6.22632 neon/0.29.6"
I konw this is an old thread, however for the beneift of others that find it:
Just a guess, but does the url your browser give you have "viewvc" or some other part that is added in by the svn browser?
i.e. http://mysvn/viewvc/trunk/.....
Tortoise won't check that out since it's not an actual svn url; your svn url is probably something like
http://mysvnsvr/mysvn/trunk.....
On CentOS7, I removed the Alias directive and it works.
The TortoiseSVN Repository Browser doesn't seem to support browsing of collection of repositories.
So if you have the repositories:
/var/svn/repo1
/var/svn/repo2
/var/svn/repo3
and the dav_svn.conf
<Location /svn>
DAV svn
SVNParentPath /var/svn
SVNListParentPath on
</Location>
You can browse them with a web browser pointing at http://server/svn.
With TortoiseSVN you must specify also the name of the repository, e.g.
http://server/svn/repo1
http://server/svn/repo2
http://server/svn/repo3
Following #rdconsolo suggestion on Ubuntu 16.04, remove the Alias directive, works for me
#Alias /svn /var/lib/svn
<Location /svn>
DAV svn
SVNParentPath /var/lib/svn
SVNListParentPath On
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
I encountered the problem in a standard configuration and the reason was that I used the same directory as DocumentRoot for the webserver and as SVNPath in the websvn/davsvn config.
For details see also What is the cause of "svn: E195019: Redirect cycle detected for URL"?
The problem for me was that I had a .htaccess RewriteRule in my document root, asking to add a trailing / to every URL not having one.
Because of that, the SVN clients, trying to call URLs WITHOUT a trailing / such as "https://site/repos/project" got reidrected by apache to "https://site/repos/project/", so the SVN client tries to go to "https://site/repos/project" again, and so on.
SOLUTION: Do not have any rule that add a trailing / that could affect your SVN urls.
Adding the:
SVNListParentPath on
line alone solved this issue for me.
I had the same problem but not for multiple repositories just tags,branches,etc within a repository. Removing the Alias tag in the conf file fixed this. I am running Centos 7 with SVN 1.8 and Tortoise 1.9.