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