Skip to content

Commit

Permalink
Merge pull request #156 from Arvur/master
Browse files Browse the repository at this point in the history
Fix for Invalid command 'RewriteEngine' when mod_rewrite is not enabled
  • Loading branch information
pommi authored Jan 16, 2018
2 parents e24b181 + 0c51b9a commit f2b6ed8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ Options -Indexes
</Files>
</IfModule>

RewriteEngine On
RewriteRule ^.git(ignore|/) - [F,L]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^.git(ignore|/) - [F,L]
</IfModule>

0 comments on commit f2b6ed8

Please sign in to comment.