On 05/25/2011 03:04 PM, Stefano Zacchiroli wrote:

> How about posting those rewrites here or, even better, helping out the
> Alioth admins to deploy them?  I guess they could use some helping hands
> more than a "bug report" sent to -devel.

They are well documented in /usr/share/doc/gitweb/README with various
examples. I'm using


        RewriteCond %{QUERY_STRING} ^$
        RewriteCond %{REQUEST_URI} ^/$
        RewriteRule ^/$ /index.html [L]

        RewriteCond %{QUERY_STRING} ^.+$
        RewriteRule ^.*$  /gitweb.cgi%{REQUEST_URI}  [L,PT]

        RewriteCond %{REQUEST_URI} ^/.+\.git.*$
        RewriteCond %{REQUEST_URI} !^/repos/.*$
        RewriteRule ^.*$  /gitweb.cgi%{REQUEST_URI}  [L,PT]


which should be similar to alioth's needs.


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprints: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dde08ae.9040...@bzed.de

Reply via email to