无法通过https访问git

无法通过https访问git,git,https,Git,Https,我已经把它放在httpd.conf中了 我想通过端口17501访问https,存储库的路径是/var/opt/git/repos 我应该做其他的改变吗?有什么想法吗 <VirtualHost *:17501> ServerName my.server.com SetEnv GIT_PROJECT_ROOT /var/opt/git/repos SetEnv GIT_HTTP_EXPORT_ALL SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER Scr

我已经把它放在httpd.conf中了

我想通过端口17501访问https,存储库的路径是/var/opt/git/repos

我应该做其他的改变吗?有什么想法吗

<VirtualHost *:17501>
ServerName my.server.com
SetEnv GIT_PROJECT_ROOT /var/opt/git/repos
SetEnv GIT_HTTP_EXPORT_ALL
SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER
ScriptAlias /git /usr/libexec/git-core/git-http-backend/

<Directory "/usr/libexec/git-core*">
   Options ExecCGI Indexes
   Order allow,deny
   Allow from all
</Directory>
</VirtualHost>