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

Re: Setting up a Git server (+ gitweb) with .htaccess files HOWTO

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 13, 2012, 19:10 UTC
Message-ID
<7v1upyft1b.fsf@alter.siamese.dyndns.org>
In-Reply-To
<vpqbop266ak.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 7 quoted lines
> I've set up a Git server on a machine on which I have a webspace,
> permission to run CGI scripts, but no shell or root access. Good news:
> it worked :-).
>
> I've documented the process here in case anyone's interested:
>
>   http://www-verimag.imag.fr/~moy/?Host-a-Git-repository-over-HTTP-S

After seeing the section that runs "git init" in a throw-away CGI script, I started wondering what the point of this site in forbidding a shell access in the first place.

After all, if you changed that example with a script that feeds its input to a shell, you would have enough "shell access" to do anything you need.

So...

Well, my reaction at this point was "why bother?", but then I realized that that reaction is meant for the administrator of that hosting site, not a user of that site, i.e. you.

Thanks for an amusing read, anyway.
Previous: Matthieu MoyNext: Matthieu Moy
Message 2 of 3 in “Setting up a Git server (+ gitweb) with .htaccess files HOWTO”
  1. Matthieu MoyFeb 13, 2012
  2. Junio C HamanoFeb 13, 2012
  3. Matthieu MoyFeb 14, 2012

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.