On Sun, Jul 06, 2008 at 09:52:58PM -0000, Ansgar Burchardt wrote:
> gitweb looks in the file pointed to by GITWEB_CONFIG for a configuration 
> file.  You can set this in .htaccess or virtual host configuration:
> <VirtualHost www:80>
>     ServerName git.domain.org
>     DocumentRoot /pub/git
>     RewriteEngine on
>     RewriteRule ^/(.*\.git/(?!/?(info|objects|refs)).*)?$ 
> /cgi-bin/gitweb.cgi%{REQUEST_URI}  [L,PT]
>     SetEnv      GITWEB_CONFIG   /etc/gitweb.conf
> </VirtualHost>
> (from /usr/share/doc/gitweb/README)
> 
> Does this solve your problem?  I'm on Debian right now so I cannot test
> if there are problems with this setting.

I could do it in a similar way (I'm using lighttpd), yes. I guess it's
a reasonable workaround.

Thanks,
                Alberto

-- 
gitweb should be able to handle different configuration files
https://bugs.launchpad.net/bugs/231844
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to