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