Note that there are some explanatory texts on larger screens.

plurals
  1. POPremature End of Script Headers from git-http-backend
    primarykey
    data
    text
    <p>I am attempting to install git and Apache on Windows. I have installed MSYSGit 1.7.3 on my Windows 2008 server (x64). I selected that the git commands should work from a Windows command prompt when I installed msysgit.</p> <p>I have added these lines to my http.conf file:</p> <pre><code>SetEnv GIT_PROJECT_ROOT C:/Repositories SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ "C:/Progra~2/git/libexec/git-core/git-http-backend.exe/" &lt;Directory /&gt; Options +ExecCGI Allow from all &lt;/Directory&gt; </code></pre> <p>I created a repository (MKE_Playground.git). I added a file test.txt.</p> <p>When I attempt to access the URL <a href="http://localhost/git/MKE_Playground.git" rel="nofollow">http://localhost/git/MKE_Playground.git</a> I get this error in the Apache log:</p> <pre><code>[Tue Feb 01 15:56:09 2011] [notice] Child 1164: Child process is running [Tue Feb 01 15:56:09 2011] [notice] Child 1164: Acquired the start mutex. [Tue Feb 01 15:56:09 2011] [notice] Child 1164: Starting 64 worker threads. [Tue Feb 01 15:56:09 2011] [notice] Child 1164: Starting thread to listen on port 80. 127.0.0.1 - - [01/Feb/2011:15:56:14 -0600] "GET /git/MKE_Playground.git HTTP/1.1" 500 539 [Tue Feb 01 15:56:14 2011] [error] [client 127.0.0.1] Premature end of script headers: git-http-backend.exe </code></pre> <p>I know that this means that the headers from the script were malformed. If I were writing the script I would check there, but I assume that the git backend typically provides correct headers. My take on this is that the git http backend failed for some reason. Where can I go to determine why it failed? Is there a Git log someplace?</p> <p>Pat O</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload