Enable AllowOverride and RewriteEngine for MightyWCMS

This commit is contained in:
Blade of Darkness 2020-01-11 22:26:47 +01:00
parent 91f9960be0
commit c54adda95f
1 changed files with 8 additions and 5 deletions

View File

@ -2,11 +2,14 @@
ServerAdmin naglfar@thunix.net ServerAdmin naglfar@thunix.net
ServerName mightywcms.thunix.net ServerName mightywcms.thunix.net
ServerAlias mightywcms.thunix.cf ServerAlias mightywcms.thunix.cf
DocumentRoot /var/www/MightyWCMS/ DocumentRoot /var/www/MightyWCMS
ErrorLog ${APACHE_LOG_DIR}/error_mightywcms.log ErrorLog ${APACHE_LOG_DIR}/error_mightywcms.log
CustomLog ${APACHE_LOG_DIR}/access_mightywcms.log combined CustomLog ${APACHE_LOG_DIR}/access_mightywcms.log combined
<Directorymatch "^/.*/\.git/"> <Directory /var/www/MightyWCMS>
Order deny,allow Options Indexes FollowSymLinks
Deny from all AllowOverride All
</Directorymatch> Order allow,deny
allow from all
</Directory>
RewriteEngine on
</VirtualHost> </VirtualHost>