LogLevel alert rewrite:trace3
Alias /gitlist "/var/www/gitlist/"
<Directory /var/www/gitlist >
Options FollowSymLinks
AllowOverride All
</Directory>
<IfModule mod_rewrite.c>
Options -MultiViews +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /var/www/gitlist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L,NC]
</IfModule>
<Files config.ini>
order allow,deny
deny from all
</Files>
DirectoryIndex index.php
----
The rewrite log when failing is:
[Sat Oct 31 10:39:54.207852 2015] [rewrite:trace2] [pid 25060] mod_rewrite.c(475): [client 90.185.139.186:64909] 90.185.139.186 - - [schafroth.dk/sid#7ffcea8fcc28][rid#7ffccf3cd0a0/initial] [perdir /var/www/gitlist/] rewrite '' -> 'index.php/'
[Sat Oct 31 10:39:54.207867 2015] [rewrite:trace3] [pid 25060] mod_rewrite.c(475): [client 90.185.139.186:64909] 90.185.139.186 - - [schafroth.dk/sid#7ffcea8fcc28][rid#7ffccf3cd0a0/initial] [perdir /var/www/gitlist/] add per-dir prefix: index.php/ -> /var/www/gitlist/index.php/
[Sat Oct 31 10:39:54.207882 2015] [rewrite:trace2] [pid 25060] mod_rewrite.c(475): [client 90.185.139.186:64909] 90.185.139.186 - - [schafroth.dk/sid#7ffcea8fcc28][rid#7ffccf3cd0a0/initial] [perdir /var/www/gitlist/] trying to replace prefix /var/www/gitlist/ with /var/www/gitlist
[Sat Oct 31 10:39:54.207898 2015] [rewrite:trace1] [pid 25060] mod_rewrite.c(475): [client 90.185.139.186:64909] 90.185.139.186 - - [schafroth.dk/sid#7ffcea8fcc28][rid#7ffccf3cd0a0/initial] [perdir /var/www/gitlist/] internal redirect with /var/www/gitlist/index.php/ [INTERNAL REDIRECT]
Can anyone see what I am doing wrong?
cheers,
:-Dennis