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.

21 lines
452 B

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 repo directory from browsing
  10. RewriteRule "(^|/)\.git" - [F]
  11. # Rewrite current-style URLs of the form 'index.php?q=x'.
  12. RewriteCond %{REQUEST_FILENAME} !-f
  13. RewriteCond %{REQUEST_FILENAME} !-d
  14. RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
  15. </IfModule>