Hello, everyone, could you help me?
I build up the git server on myself's redhat server.
1. I can use smart http visit my project through explore.
2. I can submit my code using
git remote add origin firstname.lastname@example.org:/opt/git/project.git
git push origin master
But I cannot submit my code using http protocol.
git remote add origin http://email@example.com/git/projet.git
I checked this article: https://git-scm.com/docs/git-http-backend
I found that:
if I run the command git http-backend, my server will print the error:
Status: 500 Internal Server Error
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Cache-Control: no-cache, max-age=0, must-revalidate
fatal: No REQUEST_METHOD from server
And I also check the environment variables on my server, there is no
any setting related to REQUEST_METHOD. There are also no any settings
related to environment variables which are
PATH_INFO (if GIT_PROJECT_ROOT is set, otherwise PATH_TRANSLATED)
So, my questions are:
1. how to solve the error realted to git http-backend 500 Internal Server
2. what values of these environment variables?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.