]> git.mxchange.org Git - friendica.git/blob - .htaccess
reduce visibility of lang-select flag (duepuntozero)
[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   # Protect repo directory from browsing
13   RewriteRule "(^|/)\.git" - [F]
14
15   # Rewrite current-style URLs of the form 'index.php?q=x'.
16   RewriteCond %{REQUEST_FILENAME} !-f
17   RewriteCond %{REQUEST_FILENAME} !-d
18   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
19
20 </IfModule>
21