]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
Adding htaccess.sample back*shame*
[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 /
11   #RewriteBase /mublog/
12
13   ## Uncomment these if having trouble with API authentication
14   ## when PHP is running in CGI or FastCGI mode.
15   #
16   #RewriteCond %{HTTP:Authorization} ^(.*)
17   #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
18
19   RewriteCond %{REQUEST_FILENAME} !-f
20   RewriteCond %{REQUEST_FILENAME} !-d
21   RewriteRule (.*) index.php?p=$1 [L,QSA]
22 </IfModule>
23
24 <FilesMatch "\.(ini)">
25   Order allow,deny
26 </FilesMatch>
27