Created
March 8, 2020 13:12
-
-
Save tayyebi/7c4ba3da00d38d83938c3b25584abb89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo adduser <username> www-data | |
sudo chown -R www-data:www-data /var/www | |
sudo chmod -R g+rw /var/www | |
systemctl restart apache2 | |
sudo a2enmod rewrite | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
IndexOptions ShowForbidden FancyIndexing HTMLTable | |
AllowOverride All | |
Require all granted | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment