Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v4] Smart-http documentation: add example of how to execute from userdir

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:58

Tarmigan Casebolt [off-list ref] writes:
+Depending on the global configuration of the web server, the
+"FollowSymLinks" or "SymLinksIfOwnerMatch" options might be needed.
+If the web server does not follow any symbolic links, the
+'git-http-backend' executable may be copied into the cgi-bin directory
+and renamed to 'git' to acheive the same effect, but it will also need
+to be manually updated whenever a new version of 'git-http-backend' is
+installed.
Hmph, has Apache heard of hardlinks?  If not, wouldn't this be much
simpler?

    cat >git <<\EOF
    #!/bin/sh
    exec /path/to/libexec/git-core/git-http-backend "$@"
    EOF
    chmod +x git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help