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