Updated to allow mod_rewrite in www home

This commit is contained in:
Ubergeek 2019-07-13 23:36:37 +00:00
parent 120ebbf6eb
commit 3e8e2ec65c
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,7 @@
ErrorLog ${APACHE_LOG_DIR}/error.log ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/"> <Directorymatch "^/.*/\.git/">
AllowOverride All
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directorymatch> </Directorymatch>
@ -37,6 +38,13 @@
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS Require method GET POST OPTIONS
</Directory> </Directory>
<Directory /var/www/thunix.cf>
Options Indexes FollowSymLinks MultiViews
# changed from None to FileInfo
AllowOverride FileInfo
Order allow,deny
allow from all
</Directory>
</IfModule> </IfModule>
Include /etc/letsencrypt/options-ssl-apache.conf Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/www.thunix.net/fullchain.pem SSLCertificateFile /etc/letsencrypt/live/www.thunix.net/fullchain.pem