15 lines
331 B
ApacheConf
15 lines
331 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
Options -MultiViews +SymLinksIfOwnerMatch
|
|
|
|
RewriteEngine On
|
|
#RewriteBase /path/to/gitlist/
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php/$1 [L,NC]
|
|
</IfModule>
|
|
<Files config.ini>
|
|
order allow,deny
|
|
deny from all
|
|
</Files>
|