2 AddType application/x-java-archive .jar
4 #AddHandler php53-cgi .php
6 <FilesMatch "\.(out|log)$">
10 <IfModule mod_rewrite.c>
12 # Protect repository directory from browsing
13 RewriteRule "(^|/)\.git" - [F]
15 # Rewrite current-style URLs of the form 'index.php?pagename=x'.
16 # Also place auth information into REMOTE_USER for sites running
19 # If you have troubles or use VirtualDocumentRoot
20 # uncomment this and set it to the path where your friendica installation is
22 # Friendica url: http://some.example.com
24 # Friendica url: http://some.example.com/friendica
25 # RewriteBase /friendica/
29 RewriteCond %{REQUEST_FILENAME} !-f
30 RewriteCond %{REQUEST_FILENAME} !-d
31 RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]