git smart http and gitweb, getting error "remote does not support smart http push"

hulksmash
hulksmash
Here's my gitweb.conf: $GIT="/usr/bin/git"; $projectroot="/home/git/"; Here's my git.conf apache config: SetEnv GITWEB_CONFIG /etc/gitweb.conf ServerName git.somewhere.com DocumentRoot /var/www/git/ # Deny to access to .htaccess etc Order allow,deny Deny from all # OPTIONAL: Completely deny pushing over HTTP Order Allow,Deny SetEnv REMOTE_USER $REDIRECT_REMOTE_USER SetEnv GIT_PROJECT_ROOT /var/www/git SetEnv GIT_HTTP_EXPORT_ALL # Note: Serve static files directly AliasMatch ^/repo.git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ $GIT_PROJECT_ROOT/$1 AliasMatch ^/repo.git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ $GIT_PROJECT_ROOT/$1 ScriptAliasMatch \ "(?x)^/repo.git/(.*/(HEAD | \ info/refs | \ objects/info/[^/]+ | \ git-(upload|receive)-pack))$" \ /usr/libexec/git-core/git-http-backend/$1 ScriptAlias /repo.git /var/www/git/gitweb.cgi #ScriptAlias /repo.git /usr/libexec/git-core/git-http-backend/$1 AliasMatch ^(/.*?)(\.git)(/.*)? /home/git$1$3 DAV On Options ExecCGI FollowSymLinks Indexes #Deny from all AuthType Basic AuthName "GIT" AuthUserFile /etc/httpd/conf.d/htpasswd.git Order allow,deny Allow from all Require valid-user Options ExecCGI FollowSymLinks Indexes Allow from all Order allow,deny AddHandler cgi-script cgi DirectoryIndex gitweb.cgi RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^.* /gitweb.cgi/$0 [L,PT] I am using the Eclipse git plug-in when trying to do a push. It almost seems like my ScriptAliasMatch directive is not working and it is using the gitweb.cgi instead of the git-http-backend. Thanks, HulkSmash

1-1 of 1

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
1531 views