Re: [Hampshire] ownership of files in /var/www

Top Page

Reply to this message
Author: Daniel Pope
Date:  
To: hampshire
Subject: Re: [Hampshire] ownership of files in /var/www
On Tue, Mar 22, 2011 at 04:19:03PM +0000, john lewis wrote:
> The current settings are owner = remote user and group = www-data


There's no specific ownership needed as long as they are readable by the
webserver. All webservers are packaged to run as www-data on Debian iirc.

> the file is located correctly in /var/www/KingclereHistory


I assume the missing 's' is a typo.

Can you provide ls -l and also the webserver configs pertaining to this?

Incidentally, /srv is a better place for files to be served. /var/www is the
distribution default because the filesystem hierarchy standard reserves /srv
for you to organise how you want and prohibits distributions using /srv.