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
ServerName mightywcms.thunix.net
ServerAlias mightywcms.thunix.cf
DocumentRoot /var/www/MightyWCMS/
DocumentRoot /var/www/MightyWCMS
ErrorLog ${APACHE_LOG_DIR}/error_mightywcms.log
CustomLog ${APACHE_LOG_DIR}/access_mightywcms.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
<Directory /var/www/MightyWCMS>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
RewriteEngine on
</VirtualHost>