1 <IfModule mod_rewrite.c>
4 # NOTE: change this to your actual StatusNet base URL path,
5 # minus the domain part:
7 # http://example.com/ => /
8 # http://example.com/mublog/ => /mublog/
13 ## Uncomment these if having trouble with API authentication
14 ## when PHP is running in CGI or FastCGI mode.
16 #RewriteCond %{HTTP:Authorization} ^(.*)
17 #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
19 RewriteCond %{REQUEST_FILENAME} !-f
20 RewriteCond %{REQUEST_FILENAME} !-d
21 RewriteRule (.*) index.php?p=$1 [L,QSA]
23 ## You can also use PATHINFO by using this RewriteRule instead:
24 # RewriteRule (.*) index.php/$1 [L,QSA]
27 <FilesMatch "\.(ini)">
28 # For mod_access_compat in Apache <2.4
31 # Use this instead for Apache >2.4 (mod_authz_host)