Changes between Version 9 and Version 10 of secureweb


Ignore:
Timestamp:
Nov 29, 2016, 12:42:09 PM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • secureweb

    v9 v10  
    338338next we need to grant permission to www-data user.
    339339{{{
    340 sudo chown www-data:www-data /etc/httpd/.htpasswd
    341 sudo chmod 0660 /etc/httpd/.htpasswd
     340sudo chown www-data:www-data /etc/apache2/.htpasswd
     341sudo chmod 0660 /etc/apache2/.htpasswd
    342342}}}
    343343After that create a directory called “mystuff” inside the directory web1, create an html page of your choice inside the directory as sudo and change ownership to www-data.