View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
03659Bug reportsSurvey takingpublic2009-09-08 17:01
Reporteruser4813Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.85+ 
Summary03659: _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?

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)7561
I will donate to the project if issue is resolved
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.2+

Users monitoring this issue

There are no users monitoring this issue.

Activities

jelo

jelo

2009-09-07 10:33

partner   ~09418

Last edited: 2009-09-07 10:34

What are you using as $rooturl in the configuration?
The default one?

I would try to cut of the part http://{$_SERVER['HTTP_HOST']} in the $rooturl.
Could be the same solution as if you want to support SSL casewise where you only
use the directory as $rooturl.

c_schmitz

c_schmitz

2009-09-08 17:01

administrator   ~09468

That's why it is configurable.

Issue History

Date Modified Username Field Change
2009-09-07 03:17 user4813 New Issue
2009-09-07 03:17 user4813 Status new => assigned
2009-09-07 03:17 user4813 Assigned To => user372
2009-09-07 03:17 user4813 Build Number => 7561
2009-09-07 03:17 user4813 Database & DB-Version => MySQL
2009-09-07 03:17 user4813 Operating System (Server) => Linux
2009-09-07 03:17 user4813 Webserver => Apache
2009-09-07 03:17 user4813 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