{"thread":{"id":"8412","subject":"Re: gitweb on shared hosting","startedAt":"2007-06-03T15:35:42Z","lastAt":"2007-06-03T15:35:42Z","messageCount":1,"participants":["Martin Koegler"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"43883","messageId":"20070603153541.GA32145@auto.tuwien.ac.at","threadId":"8412","inReplyTo":null,"subject":"Re: gitweb on shared hosting","fromName":"Martin Koegler","fromEmail":"mkoegler@auto.tuwien.ac.at","sentAt":"2007-06-03T15:35:42Z","receivedAt":"2007-06-03T15:35:42Z","isPatch":false,"sender":{"key":"mkoegler@auto.tuwien.ac.at","avatar":null},"body":"> I don't know if this is possible or not, but I'm trying with no results.\n> \n> Is it possible to install gitweb on a shared hosting system, with no root \n> access. Reading the INSTALL document reveals only information for \n> configuration on build-time/install as root.\n\nIt is possible to install gitweb without root access, if you have:\n1) A system to compile C programs for the hosting system\n2) A directory to copy the binaries to on the hosting system. I would not make it accessible via the webserver.\n3) A directory published by the webserver for static files\n4) A directory which supports running perl cgis\n\nIf the requirements are met, do the following:\na) Extract git sources\nb) Change in the Makefile PREFIX to the directories for the binaries\nc) run make\nd) If you compile on the hosting system, simple run make install. If\nnot, create a directory with the same patch as the binary directory on\nthe hosting system, run make install and copy the content of binary\ndirectory to the hosting system (preserving the x-bits).\ne) Copy gitweb/git-favicon.png, gitweb/git-logo.png and gitweb/gitweb.css onto your webserver.\nf) Install gitweb/gitweb.cgi as perl CGI program. gitweb.cgi needs some configuration. You can\nspecify them either in a seperate configuration file or change the default settings in gitweb.cgi.\n\nYou should check the following options:\nour $GIT = \"/homes/user/bin/git\"; #  path to the git binary \nour $projectroot = \"/pub/git\"; # path to the directoriy containing all git repositories\nour @stylesheets = (\"gitweb.css\"); # URL to stylesheet\nour $logo = \"git-logo.png\"; # URL to image\nour $favicon = \"git-favicon.png\"; # URL to image\n\nIf the webserver has read (and execute for the binaries) rights on all\nfiles (including the repositories), gitweb should work.\n\nmfg Martin Kögler\n"}]}