Page MenuHomePhabricator

Setup "" as an useful redirect for the "" LimeSurvey main entry point
Closed, ResolvedPublic


As already said it would be useful to setup this redirect:

To be used as useful/mnemonic/localizxed redirect to this page:

That is the main LimeSurvey entry point.


$ ssh
$ sudo -i

# enable plaintext domain
$ cd /etc/httpd/sites-enabled
$ ln -s ../sites-available/it-wikimedia-sondaggi-txt.conf
$ apachectl configtest
Syntax OK
$ apachectl graceful

# deploy Let's Encrypt certificate
$ certbot certonly --webroot --webroot-path=/var/www/limesurvey/production -d
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Using the webroot path /var/www/limesurvey/production for all unmatched domains.
Waiting for verification...
Cleaning up challenges

 - Congratulations! Your certificate and chain have been saved at:
   Your key file has been saved at:
   Your cert will expire on 2021-05-25. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:
   Donating to EFF:          

# enable https:// virtualhost
$ ln -s ../sites-available/it-wikimedia-sondaggi-ssl.conf
$ apachectl configtest
$ apachectl graceful