Command git push not working with a repository behind Apache HTTPD
Issue
-
Can't push changes to the remote repository behind Apache HTTPD with the output from git and Apache's httpd
error_log:git push fatal: unable to access 'http://999.999.999.999/git/project-x': The requested URL returned error: 403 [Fri Jan 01 00:00:00.000000 0000] [cgid:error] [pid 000000:tid 000000000000000] [client 999.999.999.999:99999] Service not enabled: 'receive-pack': /usr/libexec/git-core/git-http-backend
Environment
- Red Hat Enterpise Linux (RHEL)
- Apache Web Server (HTTPD)
- Git
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.