From: mkoegler@auto.tuwien.ac.at (Martin Koegler)
To: dev.list@mircea.bardac.net
Cc: git@vger.kernel.org
Subject: Re: gitweb on shared hosting
Date: Sun, 3 Jun 2007 17:35:42 +0200 [thread overview]
Message-ID: <20070603153541.GA32145@auto.tuwien.ac.at> (raw)
> I don't know if this is possible or not, but I'm trying with no results.
>
> Is it possible to install gitweb on a shared hosting system, with no root
> access. Reading the INSTALL document reveals only information for
> configuration on build-time/install as root.
It is possible to install gitweb without root access, if you have:
1) A system to compile C programs for the hosting system
2) A directory to copy the binaries to on the hosting system. I would not make it accessible via the webserver.
3) A directory published by the webserver for static files
4) A directory which supports running perl cgis
If the requirements are met, do the following:
a) Extract git sources
b) Change in the Makefile PREFIX to the directories for the binaries
c) run make
d) If you compile on the hosting system, simple run make install. If
not, create a directory with the same patch as the binary directory on
the hosting system, run make install and copy the content of binary
directory to the hosting system (preserving the x-bits).
e) Copy gitweb/git-favicon.png, gitweb/git-logo.png and gitweb/gitweb.css onto your webserver.
f) Install gitweb/gitweb.cgi as perl CGI program. gitweb.cgi needs some configuration. You can
specify them either in a seperate configuration file or change the default settings in gitweb.cgi.
You should check the following options:
our $GIT = "/homes/user/bin/git"; # path to the git binary
our $projectroot = "/pub/git"; # path to the directoriy containing all git repositories
our @stylesheets = ("gitweb.css"); # URL to stylesheet
our $logo = "git-logo.png"; # URL to image
our $favicon = "git-favicon.png"; # URL to image
If the webserver has read (and execute for the binaries) rights on all
files (including the repositories), gitweb should work.
mfg Martin Kögler
next reply other threads:[~2007-06-03 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-03 15:35 Martin Koegler [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-06-02 16:53 gitweb on shared hosting Mircea Bardac
2007-06-03 18:36 ` Jakub Narebski
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=20070603153541.GA32145@auto.tuwien.ac.at \
--to=mkoegler@auto.tuwien.ac.at \
--cc=dev.list@mircea.bardac.net \
--cc=git@vger.kernel.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).