Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
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.

.htaccess 924B

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