/[smecontribs]/rpms/smeserver-git/contribs8/smeserver-git-1.0.0-LocationMatch.patch
ViewVC logotype

Diff of /rpms/smeserver-git/contribs8/smeserver-git-1.0.0-LocationMatch.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Sat Jun 11 17:27:05 2016 UTC Revision 1.2 by unnilennium, Sat Jun 11 18:08:51 2016 UTC
# Line 18  diff -Nur smeserver-git-1.0.0.old/root/e Line 18  diff -Nur smeserver-git-1.0.0.old/root/e
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";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed