User Tools

Site Tools


home:webserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
home:webserver [2019/06/12 22:12]
admin
home:webserver [2019/12/14 13:34] (current)
admin
Line 169: Line 169:
   * Permissions:​   * Permissions:​
 <code c> <code c>
 +# Not very secure, but given a sandbox computer it's probably okay.
 +# sudo vi /​env/​apache2/​envvars
 +# Edit APACHE_RUN_USER/​GROUP from www-data to your username
 +# Then restart apache
 +# Done!
 +
 +
 #Make user www-data in charge of /var/www #Make user www-data in charge of /var/www
 sudo chown -R www-data:​www-data /var/www sudo chown -R www-data:​www-data /var/www
home/webserver.txt · Last modified: 2019/12/14 13:34 by admin