]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular...
[quix0rs-gnu-social.git] / htaccess.sample
1 <IfModule mod_rewrite.c>
2   RewriteEngine On
3
4   # NOTE: change this to your actual StatusNet base URL path,
5   # minus the domain part:
6   #
7   #   http://example.com/        => /
8   #   http://example.com/mublog/ => /mublog/
9   #
10   RewriteBase /mublog/
11
12   ## Uncomment these if having trouble with API authentication
13   ## when PHP is running in CGI or FastCGI mode.
14   #
15   #RewriteCond %{HTTP:Authorization} ^(.*)
16   #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
17
18   RewriteCond %{REQUEST_FILENAME} !-f
19   RewriteCond %{REQUEST_FILENAME} !-d
20   RewriteRule (.*) index.php?p=$1 [L,QSA]
21 </IfModule>
22
23 <FilesMatch "\.(ini)">
24   Order allow,deny
25 </FilesMatch>
26