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 liumei@192.168.23.10:/opt/git/project.git git push origin master But I cannot submit my code using http protocol. git remote add origin http://liumei@192.168.23.10/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 Pragma: no-cache 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) - REMOTE_USER - REMOTE_ADDR - CONTENT_TYPE - QUERY_STRING So, my questions are: 1. how to solve the error realted to git http-backend 500 Internal Server Error? 2. what values of these environment variables? - REMOTE_USER - REMOTE_ADDR - CONTENT_TYPE - QUERY_STRING - REQUEST_METHOD -- 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 to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.