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,12 +1,14 @@
|
|||||||
RewriteEngine On
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
# NOTE: change this to your actual Laconica path; may be "/".
|
# NOTE: change this to your actual Laconica path; may be "/".
|
||||||
|
|
||||||
RewriteBase /mublog/
|
RewriteBase /mublog/
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule (.*) index.php?p=$1 [L,QSA]
|
RewriteRule (.*) index.php?p=$1 [L,QSA]
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
<FilesMatch "\.(ini)">
|
<FilesMatch "\.(ini)">
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
|
Loading…
Reference in New Issue
Block a user