[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anonymous read-only access and Vcs-* [Re: Alioth status update, take 3]



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


Reply to: