Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to push a directory over smart-http
    text
    copied!<p>I've been going a this for two days in a row now, and I'm giving up on finding the solution all by myself. I am trying to set up Redmine on a server - that part went well. I am also trying to install a git repository, but although I've been able to clone and pull perfectly well via SSH, I'm having a rough time doing the same over HTTP.</p> <p>First of all, here is the verbose git push error:</p> <p>================================================================</p> <p>$ GIT_CURL_VERBOSE=1 git push <a href="http://192.168.0.13/gitweb/Project" rel="nofollow">http://192.168.0.13/gitweb/Project</a> master * Couldn't find host 192.168.0.13 in the _netrc file; using defaults * About to connect() to 192.168.0.13 port 80 (#0) * Trying 192.168.0.13... * 0x20ab4f0 is at send pipe head! * Connected to 192.168.0.13 (192.168.0.13) port 80 (#0)</p> <blockquote> <p>GET /gitweb/Project/info/refs?service=git-receive-pack HTTP/1.1 User-Agent: git/1.7.4.3282.g844cb Host: 192.168.0.13 Accept: <em>/</em> Pragma: no-cache</p> </blockquote> <ul> <li>The requested URL returned error: 403</li> <li>Expire cleared</li> <li>Closing connection #0</li> <li>Couldn't find host 192.168.0.13 in the _netrc file; using defaults</li> <li>About to connect() to 192.168.0.13 port 80 (#0)</li> <li>Trying 192.168.0.13... * 0x20ab4f0 is at send pipe head!</li> <li><p>Connected to 192.168.0.13 (192.168.0.13) port 80 (#0)</p> <blockquote> <p>GET /gitweb/Project/info/refs HTTP/1.1 User-Agent: git/1.7.4.3282.g844cb Host: 192.168.0.13 Accept: <em>/</em> Pragma: no-cache</p> </blockquote></li> <li><p>The requested URL returned error: 403</p></li> <li>Closing connection #0 error: The requested URL returned error: 403 while accessing <a href="http://192.168.0.13" rel="nofollow">http://192.168.0.13</a> /gitweb/Project/info/refs</li> </ul> <p>fatal: HTTP request failed</p> <p>================================================================</p> <p>So there are obviously some misconfigured rights, eventhough I've temporarily chmodded my repository folder to 777.</p> <p>I reckon you'll also be interested in apache's configuration:</p> <p>================================================================</p> <p> ServerAdmin webmaster@localhost</p> <pre><code>[...snip...] PerlLoadModule Apache::Redmine SetEnv GIT_PROJECT_ROOT /var/cache/git/ SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/lib/git-core/git-http-backend/ &lt;Location "/git/"&gt; DAV on AuthType Basic AuthName "Git Repository" Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler RedmineDSN "DBI:mysql:database=redmine;host=localhost" RedmineDbUser "redmine" RedmineDbPass "XXXXXXX" RedmineGitSmartHttp yes &lt;/Location&gt; Alias /gitweb/ "/var/cache/git/public/" &lt;Location "/gitweb/"&gt; Order deny,allow Deny from all &lt;Limit GET PROPFIND OPTIONS REPORT&gt; Options Indexes FollowSymLinks MultiViews Allow from 127.0.0.1 Allow from localhost &lt;/Limit&gt; &lt;/Location&gt; </code></pre> <p></p> <p>================================================================</p> <p>So if someone would be so kind as to give me a hint about what to do, I'd really be grateful. Thanks in advance!</p>
 

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