Defect #2072
closed
redirection error while clicking the "apply" button
Added by Louis Delacretaz over 16 years ago.
Updated over 15 years ago.
Resolution:
Cant reproduce
Description
I'm running redmine with mongrels using port 12013 and have setup a subdomain
to redirect to that port, that is example.com:12013 is redmine and red.example.com redirects
to it.
Red.example.com works ok until I hit an "apply" button,
select "view all issues"
click on Apply
Application coninually displays Loading.... until it crashes
The same sequence of events with red.example.com:12013 works fine.
this error message appears in the backend
======================
ActionController::RoutingError (No route matches "/403.shtml" with {:method=>:get}):
======================
supposition is that the applicaiton is not loaded when pressing "apply" on a redirected url?
Redmine 0.7.3.1917 (MySQL)
Rails 2.0.2
MySql 4.1.22
- Assignee set to Thomas Lecavelier
- Priority changed from Normal to Low
- Start date deleted (
2008-10-23)
Could you precise which webserver is doing reverse_proxy and post your subdomain definition, please?
(next time, please pass through the help forum for this kind of support, which is not a defect.)
webserver we using is Apache/1.3.41 and the subdomain is "atsdesk.ttsurveys.com.au", atsdesk.ttsurveys.com.au:12013
By subdomain definition, I meaned the conf snipset from apache where you're setting the reverse proxy, in order to detect a misconf or a configuration conflict.
Could you had your ruby version too, please?
hmm, this is a hosted site using cpanel 11 to setup the sub-domain and create the rewrites for RoR applications, I'll ask the hoster
ruby 1.8.5
response from the hoster for a conf snipset is (they setup tech.ttsurveys.com.au to test the fault):
**************************************************
Actually Ruby on Rails pages are displayed using mongrel web server. Ruby on Rails websites runs on ports like 12013 and it is handled by mongrel web server.
Regarding sub domains, they are redirected using htaccess. A sample htacess to redirect http://tech.ttsurveys.com.au/ to http://ttsurveys.com.au:12013/ is given below for your reference.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RewriteEngine on
RewriteCond ^tech.ttsurveys.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.tech.ttsurveys.com.au$
RewriteRule ^(.*)$ "http://127.0.0.1:12013{REQUEST_URI}" [P,QSA,L]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Status changed from New to Closed
- Resolution set to Cant reproduce
Also available in: Atom
PDF