Quantcast
Channel: Setting up a user account for a web server - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Answer by Evenbit GmbH for Setting up a user account for a web server

$
0
0

When you set up lighttpd with the normal ubuntu packages (apt-get install lighttpd),then ubuntu uses the owner/group www-data and adds this user automatically for you.

In /var/www you can use your username as owner for the files and directories, but change the group to www-data.

sudo chown -R yourusername:www-data /var/www

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>