git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitweb testing with non-apache web server

From
MSMarc Singer <elf@buici.com>
Date
Aug 3, 2006, 20:27 UTC
Message-ID
<20060803202703.GA13147@buici.com>
In-Reply-To
<20060803192152.GT7533@daga.cl>
On Thu, Aug 03, 2006 at 03:21:52PM -0400, Blu Corater wrote:
Show 37 quoted lines
> Here is the interesting part of my cherokee.conf
> 
> ------------------------------------------
> UserDir public_html {
>     Directory / {
>        Handler common
>     }
> 
>     Directory /scm/ {
>         Handler cgi {
>                 ScriptAlias /home/blu/bin/gitweb.cgi
>         }
>     }
> }
> -----------------------------------------
> 
> So, I have the gitweb.cgi executable in a bin directory on my home and I
> am telling Cherokee that when it sees the url http://server/~blu/scm/, it
> should execute /home/blu/bin/gitweb.cgi
> 
> If I request http://server/~blu/scm, Cherokee returns Cherokee's default
> index page. Only if I request http://server/~blu/scm/, Cherokee returns
> the expected output from gitweb.
> 
> Now, if I add 
> 
>     Directory /test/ {
> 	Handler cgi
>     }
> 
> And copy gitweb.cgi to ~/public_html/test/, it seems there is no problem.
> 
> I can request http://server/~blu/test/gitweb.cgi or
> http://server/~blu/test/gitweb.cgi/ and get the expected gitweb output.
> 
> It looks more like a Cherokee problem to me, but I don't have time to
> investigate further right now.

Hmm. I was hopeful when I saw that your configuration was different from mine. However, it seems to be something else. BTW, I'm running cherokee on ARM.

========================================
Directory / {
    Handler common
}
Directory /g/ {
    Handler cgi {
        Scriptalias /usr/lib/cgi-bin/git.cgi
    }
}
Directory /git/ {
    Handler cgi {
        Scriptalias /usr/lib/cgi-bin/gitweb.cgi
    }
}
========================================
gitweb.cgi is an old version.  git.cgi is the latest release.

I can see the project overview page, but all of the links bring me back to the same top-level page, no summary, not logs. I've verified that the web server's user can read the git repo.

I don't doubt that this is a cherokee issue.
Cheers.
Previous: Blu CoraterNext: Francis Daly
Message 14 of 18 in “gitweb testing with non-apache web server”
  1. Marc SingerAug 3, 2006
  2. Jakub NarebskiAug 3, 2006
  3. Marc SingerAug 3, 2006
  4. Jakub NarebskiAug 3, 2006
  5. Marc SingerAug 3, 2006
  6. Junio C HamanoAug 3, 2006
  7. Jakub NarebskiAug 3, 2006
  8. Junio C HamanoAug 3, 2006
  9. Martin WaitzAug 3, 2006
  10. Sam VilainAug 3, 2006
  11. Blu CoraterAug 3, 2006
  12. Marc SingerAug 3, 2006
  13. Blu CoraterAug 3, 2006
  14. Marc SingerAug 3, 2006
  15. Francis DalyAug 3, 2006
  16. Marc SingerAug 4, 2006
  17. Francis DalyAug 4, 2006
  18. Marc SingerAug 4, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.