FR update to the strings THX Perig
[friendica.git] / .htaccess
1 Options -Indexes
2 AddType application/x-java-archive .jar
3 AddType audio/ogg .oga
4 #AddHandler php53-cgi .php
5
6 <FilesMatch "\.(out|log)$">
7 Deny from all
8 </FilesMatch>
9
10 <IfModule mod_rewrite.c>
11   RewriteEngine on
12   # Protect repository directory from browsing
13   RewriteRule "(^|/)\.git" - [F]
14
15   # Rewrite current-style URLs of the form 'index.php?pagename=x'.
16   # Also place auth information into REMOTE_USER for sites running
17   # in CGI mode.
18
19   # If you have troubles or use VirtualDocumentRoot
20   # uncomment this and set it to the path where your friendica installation is
21   # i.e.:
22   # Friendica url: http://some.example.com
23   # RewriteBase /
24   # Friendica url: http://some.example.com/friendica
25   # RewriteBase /friendica/
26   #
27   #RewriteBase /
28
29   RewriteCond %{REQUEST_FILENAME} !-f
30   RewriteCond %{REQUEST_FILENAME} !-d
31   RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
32
33 </IfModule>
34