Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
612 B

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. #Options -Indexes
  2. AddType application/x-java-archive .jar
  3. AddType audio/ogg .oga
  4. <FilesMatch "\.(out|log)$">
  5. Deny from all
  6. </FilesMatch>
  7. <IfModule mod_rewrite.c>
  8. RewriteEngine on
  9. # Protect repository directory from browsing
  10. RewriteRule "(^|/)\.git" - [F]
  11. RewriteBase /~fabio/friendika
  12. # Rewrite current-style URLs of the form 'index.php?q=x'.
  13. # Also place auth information into REMOTE_USER for sites running
  14. # in CGI mode.
  15. RewriteCond %{REQUEST_FILENAME} !-f
  16. RewriteCond %{REQUEST_FILENAME} !-d
  17. RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
  18. </IfModule>