2009-07-15 22:13:50 +12:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine On
|
2008-06-06 14:20:44 -04:00
|
|
|
|
2010-03-25 12:48:31 -07:00
|
|
|
# NOTE: change this to your actual StatusNet base URL path,
|
|
|
|
# minus the domain part:
|
|
|
|
#
|
|
|
|
# http://example.com/ => /
|
|
|
|
# http://example.com/mublog/ => /mublog/
|
|
|
|
#
|
2013-10-05 14:28:41 +02:00
|
|
|
RewriteBase /
|
|
|
|
#RewriteBase /mublog/
|
2008-09-10 14:00:50 -04:00
|
|
|
|
2010-03-17 10:52:11 -07:00
|
|
|
## Uncomment these if having trouble with API authentication
|
|
|
|
## when PHP is running in CGI or FastCGI mode.
|
2010-03-25 12:48:31 -07:00
|
|
|
#
|
2010-03-17 10:52:11 -07:00
|
|
|
#RewriteCond %{HTTP:Authorization} ^(.*)
|
|
|
|
#RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
|
|
|
|
|
2009-07-15 22:13:50 +12:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule (.*) index.php?p=$1 [L,QSA]
|
|
|
|
</IfModule>
|
2009-01-20 23:15:18 -05:00
|
|
|
|
2008-07-20 07:20:32 -04:00
|
|
|
<FilesMatch "\.(ini)">
|
|
|
|
Order allow,deny
|
|
|
|
</FilesMatch>
|
|
|
|
|