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.


** Changed in: git-core (Ubuntu)
       Status: New => Incomplete

-- 
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