]> git.mxchange.org Git - friendica.git/blob - .htaccess
dispy: photos display don't overflow onto sidebar
[friendica.git] / .htaccess
1 Options -Indexes
2 AddType application/x-java-archive .jar
3 AddType audio/ogg .oga
4
5 <FilesMatch "\.(out|log)$">
6 Deny from all
7 </FilesMatch>
8
9 <IfModule mod_rewrite.c>
10   RewriteEngine on
11
12 #  RewriteRule api.* - [E=REMOTE_USER:%{HTTP:Authorization},L]
13
14   # Protect repo directory from browsing
15   RewriteRule "(^|/)\.git" - [F]
16
17   # Rewrite current-style URLs of the form 'index.php?q=x'.
18   RewriteCond %{REQUEST_FILENAME} !-f
19   RewriteCond %{REQUEST_FILENAME} !-d
20   RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
21
22 </IfModule>
23