server_configuration:apache

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
server_configuration:apache [2021/01/13 18:52] davidserver_configuration:apache [2021/01/31 17:45] – [File Ownership] david
Line 22: Line 22:
 <code bash> <code bash>
 # Site content owned by www-data so webserver can modify files # Site content owned by www-data so webserver can modify files
-chown -R ../ www-data:www-data /var/www+chown -R www-data:www-data /var/www
  
 # Configuration owned by root for security # Configuration owned by root for security
-chown -R ../ root:root /etc/apache2+chown -R root:root /etc/apache2
 </code> </code>
  
  • server_configuration/apache.txt
  • Last modified: 2022/07/22 16:39
  • by david