]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
Merge branch 'master' of gitorious.org:social/mainline
[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 <<<<<<< HEAD
23
24   ## You can also use PATHINFO by using this RewriteRule instead:
25   # RewriteRule (.*) index.php/$1 [L,QSA]
26 </IfModule>
27
28 <FilesMatch "\.(ini)">
29   # For mod_access_compat in Apache <2.4
30   Order allow,deny
31
32   # Use this instead for Apache >2.4 (mod_authz_host)
33   # Require all denied
34 </FilesMatch>
35 =======
36 </IfModule>
37
38 <FilesMatch "\.(ini)">
39   Order allow,deny
40 </FilesMatch>
41
42 >>>>>>> Adding htaccess.sample back*shame*