Re: CGit and repository list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lars Hjemli
Date: Friday, September 12, 2008 - 4:20 pm

On Sat, Sep 13, 2008 at 12:48 AM, Petr Baudis <pasky@suse.cz> wrote:

I guess I could add support for something like

  scan-paths=/pub/git

in cgitrc (and optionally store the result of the scan as another
cgitrc-file in the cache directory). Would that improve things for
you?



On hjemli.net I used to specify "virtual-root=/git" in cgitrc combined
with this rule in /etc/apache/httpd.conf

  RewriteRule ^/git/(.*)$   /cgit/cgit.cgi?url=$1  [L,QSA]


But currently I'm running the tip of the wip-branch (which has support
for PATH_INFO) on hjemli.net , so I've removed the "virtual-root" from
cgitrc and the rewriterule from httpd.conf and just use this instead:

  ScriptAlias /git /var/www/htdocs/cgit/cgit.cgi

hth,
larsh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: CGit and repository list, Petr Baudis, (Fri Sep 12, 3:48 pm)
Re: CGit and repository list, Lars Hjemli, (Fri Sep 12, 4:20 pm)
Re: CGit and repository list, Petr Baudis, (Sat Sep 13, 12:49 pm)
Re: CGit and repository list, Lars Hjemli, (Sat Sep 13, 1:02 pm)
Re: CGit and repository list, Kristian Høgsberg, (Sun Sep 14, 10:14 am)
Re: CGit and repository list, Kristian Høgsberg, (Sun Sep 14, 10:22 am)
Re: CGit and repository list, Lars Hjemli, (Sun Sep 14, 11:01 am)
Re: CGit and repository list, Lars Hjemli, (Mon Sep 15, 3:04 pm)