Check out the LimeSurvey source code on GitHub!

Login page takes to absolute server path

More
5 years 3 months ago #67222 by zubayer
Hi,

My survey is installed at surveys.universityname.ca. When I access surveys.universityname.ca/admin it changes to the server address (pg-uni-xyz-02.universityname.ca/admin/admin.php). I want it to show surveys.universityname.ca in the browser's address bar.

Any suggestions please.

Thank you.

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #67226 by DenisChenu
Did you look at config.php:
$rooturl            =   "http://{$_SERVER['HTTP_HOST']}";

become
$rooturl            =   "http://surveys.universityname.ca";

:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 5 years 3 months ago by DenisChenu.

Please Log in to join the conversation.

More
5 years 3 months ago #67291 by zubayer
Hi Shnoulle,

It works! But When I type in surveys.universityname.ca/admin, it redirects to server address. When I type in surveys.universityname.ca/admin/ (with an ending slash) it works fine.

Thanks.

Please Log in to join the conversation.

More
5 years 3 months ago #67293 by Mazi
Can this be caused by some Apache redirect?

How do you map those different URLs at the background?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #67295 by zubayer
I too have to to find this out from the sysadmin person.

Thanks.

Please Log in to join the conversation.

More
5 years 3 months ago #67309 by Mazi
Also tell your sysadmin to check for any .htaccess file at the Limesurvey folder or above folder(s).


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form