forked from GNUsocial/gnu-social
Check if mod_rewrite is installed before trying to use it
stops those apache 500 errors when it's not installed
This commit is contained in:
parent
0a602725b1
commit
185d08282b
@ -1,3 +1,4 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# NOTE: change this to your actual Laconica path; may be "/".
|
||||
@ -7,6 +8,7 @@ RewriteBase /mublog/
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule (.*) index.php?p=$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
<FilesMatch "\.(ini)">
|
||||
Order allow,deny
|
||||
|
Loading…
Reference in New Issue
Block a user