View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 03659 | Bug reports | Survey taking | public | 2009-09-07 03:17 | 2009-09-08 17:01 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 1.85+ | ||||
| Summary | 03659: _SERVER(PHP_SELF) issue on proxied virtual host | ||||
| Description | Most forms are posting to _SERVER(PHP_SELF). However, on my server which is a vhost and is proxied, the posts are returning to base url. Actual URL http://www.mydomain.com/a/b/limesurvey/ The welcome page of surveys are appearing fine. When clicked next it posts to http://www.mydomain.com/limesurvey/ On changing the code from _SERVER(PHP_SELF) to action='".$rooturl."/index.php' everything works. Will it not be better to have form posts in relation to rooturl when we have one? | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 7561 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | MySQL | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache | ||||
| PHP Version | 5.2+ | ||||
|
What are you using as $rooturl in the configuration? I would try to cut of the part http://{$_SERVER['HTTP_HOST']} in the $rooturl. |
|
|
That's why it is configurable. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-09-07 03:17 |
|
New Issue | |
| 2009-09-07 03:17 |
|
Status | new => assigned |
| 2009-09-07 03:17 |
|
Assigned To | => user372 |
| 2009-09-07 03:17 |
|
Build Number | => 7561 |
| 2009-09-07 03:17 |
|
Database & DB-Version | => MySQL |
| 2009-09-07 03:17 |
|
Operating System (Server) | => Linux |
| 2009-09-07 03:17 |
|
Webserver | => Apache |
| 2009-09-07 03:17 |
|
PHP Version | => 5.2+ |
| 2009-09-07 10:33 | jelo | Note Added: 09418 | |
| 2009-09-07 10:34 | jelo | Note Edited: 09418 | |
| 2009-09-08 17:01 | c_schmitz | Assigned To | user372 => c_schmitz |
| 2009-09-08 17:01 | c_schmitz | Note Added: 09468 | |
| 2009-09-08 17:01 | c_schmitz | Status | assigned => closed |
| 2009-09-08 17:01 | c_schmitz | Resolution | open => no change required |
| 2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |