]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
mod_rewrite rule for getfile
[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
6   RewriteBase /mublog/
7
8   # If your site is private and want to only allow logged-in users to
9   # be able to download file attachments, uncomment this rule.
10   #
11   # If you have a custom attachment path
12   # ($config['attachments']['path']), change "file/" to match.
13   #
14   #RewriteRule ^file/(.*) getfile/$1
15
16   RewriteCond %{REQUEST_FILENAME} !-f
17   RewriteCond %{REQUEST_FILENAME} !-d
18   RewriteRule (.*) index.php?p=$1 [L,QSA]
19 </IfModule>
20
21 <FilesMatch "\.(ini)">
22   Order allow,deny
23 </FilesMatch>
24