Welcome, Guest
Username: Password: Remember me

TOPIC: How to change the directory of limesurvey

How to change the directory of limesurvey 2 years 6 months ago #76318

  • fawazomr
  • fawazomr's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I have installed limesurvey in a directory (/survey). Now I can access it like this: domain.com/survey

I want to access my limesurvey using domain.com, not domin.com/survey. Without changing the location of the limesurvey, which is domain.com/survey

could you please let me know how to do that?

Thanks
The administrator has disabled public write access.

Re: How to change the directory of limesurvey 2 years 6 months ago #76349

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6334
  • Thank you received: 818
  • Karma: 243
Hello,

You need a DNS and a virtualhost.

If your web directory are "/var/www" the put a virtualhost:
<VirtualHost *:80>
    ServerAdmin postmaster@yourdomain
    DocumentRoot /var/www/survey
    ServerName survey.yourdomain
      <Directory /var/www/survey>
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
      </Directory>
</VirtualHost>
Last Edit: 2 years 6 months ago by DenisChenu. Reason: code
The administrator has disabled public write access.

Re: How to change the directory of limesurvey 2 years 6 months ago #76352

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Most ISP offer forwarding a root domain to content of a certain folder, so please ask your provider if/where you can set this.

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: How to change the directory of limesurvey 2 years 6 months ago #76918

  • Fred
  • Fred's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 163
  • Thank you received: 5
  • Karma: 3
I have kind of a related question. 1.92 and prior, the limesurvey folder location could be set in config.php, like this:

$rooturl = "http://{$_SERVER}/limesurvey

Where is this setting in Limesurvey 2.0 Yii branch? I can't seem to find it
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.159 seconds
Donation Image