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
|
||||
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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user