aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
blob: 75b3e7a8110d58850fd3cb88d1669ed9c30efd3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Options -Indexes
AddType application/x-java-archive .jar

<FilesMatch "\.(out|log|git)$">
Deny from all
</FilesMatch>

<IfModule mod_rewrite.c>
  RewriteEngine on

  # Rewrite current-style URLs of the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

</IfModule>