Welcome, Guest
Username: Password: Remember me

TOPIC: Login page takes to absolute server path

Login page takes to absolute server path 3 years 1 week ago #67222

  • zubayer
  • zubayer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Login page takes to absolute server path 3 years 1 week ago #67226

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Did you look at config.php:
$rooturl            =   "http://{$_SERVER['HTTP_HOST']}";

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

:)
Last Edit: 3 years 1 week ago by DenisChenu.
The administrator has disabled public write access.

Re: Login page takes to absolute server path 3 years 1 week ago #67291

  • zubayer
  • zubayer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Login page takes to absolute server path 3 years 1 week ago #67293

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Login page takes to absolute server path 3 years 1 week ago #67295

  • zubayer
  • zubayer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
I too have to to find this out from the sysadmin person.

Thanks.
The administrator has disabled public write access.

Re: Login page takes to absolute server path 3 years 1 week ago #67309

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.208 seconds
Donation Image