From: Tarmigan <tarmigan+git@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] Smart-http documentation: add example of how to execute from userdir
Date: Sun, 27 Dec 2009 23:06:59 -0500 [thread overview]
Message-ID: <905315640912272006o6a8fecddiebb66cc243593fad@mail.gmail.com> (raw)
In-Reply-To: <20091227211557.GC609@spearce.org>
On Sun, Dec 27, 2009 at 4:15 PM, Shawn O. Pearce <spearce@spearce.org> wrote:
> Tarmigan Casebolt <tarmigan+git@gmail.com> wrote:
>> Smart-http may be an attactive and easy way for people to setup git
>> hosting on shared servers whose primary web server configuration they
>> do not control. To facilite this, provide an example of how it may be
>> done.
> ...
>> + \~/public_html/cgi-bin/.htaccess:
>> ++
>> +----------------------------------------------------------------
>> +SetHandler cgi-script
>> +Options +SymLinksIfOwnerMatch
>> +SetEnv GIT_PROJECT_ROOT /home/$username/devel
>> +----------------------------------------------------------------
>
> At this point, isn't this just easier?
>
> mkdir ~/public_html/git
> vi ~/public_html/git/.htaccess
>
> SetEnv GIT_PROJECT_ROOT /home/$username/devel
> ScriptAlias / /usr/libexec/git-core/git-http-backend/
Yes, that would be perfect. But ScriptAlias is only valid in the
"server config" or "virtual host" contexts which is why the
symlink/copy executable convolutions might be needed. Can you see a
simpler way around it?
Thanks,
Tarmigan
prev parent reply other threads:[~2009-12-28 4:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-26 17:07 [PATCH] Smart-http documentation: add example of how to execute from userdir Tarmigan Casebolt
2009-12-27 3:19 ` Tay Ray Chuan
2009-12-28 4:18 ` Tarmigan
2009-12-28 4:46 ` [PATCH v2] " Tarmigan Casebolt
2009-12-31 2:18 ` Tay Ray Chuan
2010-01-02 21:18 ` [PATCH v3] " Tarmigan Casebolt
2010-01-03 2:11 ` Tay Ray Chuan
2010-01-03 8:34 ` Junio C Hamano
2010-01-04 14:06 ` Shawn O. Pearce
2010-01-05 7:59 ` Tarmigan
2010-01-05 7:59 ` [PATCH v4] " Tarmigan Casebolt
2010-01-05 8:23 ` Junio C Hamano
2009-12-27 21:15 ` [PATCH] " Shawn O. Pearce
2009-12-28 4:06 ` Tarmigan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=905315640912272006o6a8fecddiebb66cc243593fad@mail.gmail.com \
--to=tarmigan+git@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).