18 |
+ #$OUT .= " RewriteCond %{REQUEST_FILENAME} !-f\n"; |
+ #$OUT .= " RewriteCond %{REQUEST_FILENAME} !-f\n"; |
19 |
+ #$OUT .= " RewriteCond %{REQUEST_FILENAME} !-d\n"; |
+ #$OUT .= " RewriteCond %{REQUEST_FILENAME} !-d\n"; |
20 |
+ #$OUT .= " RewriteRule ^$gitpath\/gitweb.cgi\(\.\*\\.git)\$ $gitpath/gitweb.cgi\$1 [PT]\n"; |
+ #$OUT .= " RewriteRule ^$gitpath\/gitweb.cgi\(\.\*\\.git)\$ $gitpath/gitweb.cgi\$1 [PT]\n"; |
21 |
+ $OUT .= " RewriteRule ^/git$ /git/ [R]\n"; |
+ $OUT .= " RewriteRule ^/git\$ /git/ [R]\n"; |
22 |
|
|
23 |
$OUT .= " RewriteCond %{REQUEST_URI} !=$gitpath/gitweb.*\n"; |
$OUT .= " RewriteCond %{REQUEST_URI} !=$gitpath/gitweb.*\n"; |
24 |
$OUT .= " RewriteCond %{REQUEST_FILENAME} !-f\n"; |
$OUT .= " RewriteCond %{REQUEST_FILENAME} !-f\n"; |