I installed Limesurvey 1.91+ on a websrver and used the parallels dash to create a subdomain for it. The subdomain assesment.server.com links directly to the folder /var/www/html/limesurvey
I removed /limesurvey from the $rootdir variable in config.php and everything installed and seemed to work fine. However....
If I fill out a survey and submit it, it seems to submit to the wrong folder. It should submit the input to /index.php but instead submits to the actual folder of the subdomain /var/subdomain/assesment/html/index.php
You have remove limesurvey from $rootdir but installed limesurvey
at the local path /var/www/html/limesurvey. Since /var/www/html is the root for the httpdaemon the $rootdir needs to contain limesurvey in the path.
Your subdomain mapping might be buggy.
You state that
The subdomain assesment.server.com links directly to the folder /var/www/html/limesurvey
actual folder of the subdomain /var/subdomain/assesment/html/index.php
The question is what is the subdomain really mapped to?
Since you mentioned Parallels you might use Plesk Panel or Small Business Panel. Check the documentation of your control panel. There are often
limitations and restriction what can be mapped with subdomains.
In Plesk (might changed in version 10) you couldn't map subdomains into the main webroot. Take a look at this thread in the parallels forum forum.parallels.com/showthread.php?t=105626 .
Then change $rooturl and $rootpath to the correct url and path.