gnu-social/htaccess.sample
Brenda Wallace 185d08282b Check if mod_rewrite is installed before trying to use it
stops those apache 500 errors when it's not installed
2009-07-21 16:37:17 -04:00

17 lines
322 B
Plaintext

<IfModule mod_rewrite.c>
RewriteEngine On
# NOTE: change this to your actual Laconica path; may be "/".
RewriteBase /mublog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA]
</IfModule>
<FilesMatch "\.(ini)">
Order allow,deny
</FilesMatch>