forked from thunix/ansible
Enable AllowOverride and RewriteEngine for MightyWCMS
This commit is contained in:
parent
91f9960be0
commit
c54adda95f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue