msysgit 와 apache2 연동 시 httpd.conf 설정 질문드립니다.
      글쓴이: ssif / 작성시간: 목, 2014/07/31 - 12:35오후    
  
  안녕하세요. 윈도우용 git인 msysgit를 서버에 설치하고 apache 웹 서버를 설치했습니다.
웹서버는 기존에 설치 되어 있었고 설치 경로의 htdocs 디렉토리에서 서버스가 되고있었습니다.
포트는 80번이 아닌 다른 포트로 서비스 되고 있습니다.
여기에 VirtualHost 설정으로 git 를 서비스 하려고 합니다.
VirtualHost 설정 파일은 아래처럼 작성했습니다.
<VirtualHost *:88>
    DocumentRoot "C:/Program Files/apache2/htdocs"
    ServerName <a href="http://www.localhost.co.kr:88" rel="nofollow">www.localhost.co.kr:88</a>
<Directory />
  Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:8800>
    DocumentRoot "C:/repositories"
    ServerName <a href="http://www.localhost.co.kr:8800" rel="nofollow">www.localhost.co.kr:8800</a>
 
SetEnv GIT_PROJECT_ROOT C:/repositories
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAliasMatch "(?x)^/(.*/(HEAD | info/refs | objects/(info/[^/]+ | [0-9a-f]{2}/[0-9a-f]{38} | pack/pack-[0-9a-f]{40}.(pack|idx)) | git-(upload|receive)-pack))$" "C:/msysgit/libexec/git-core/git-http-backend.exe/$1"
 
<Directory "C:/msysgit/libexec/git-core/">
  Options +ExecCGI
  Allow from all
  AuthType Basic
  AuthName "Repository Authorization"
  AuthUserFile "C:/Program Files/apache2/gitusers"
  Require valid-user
</Directory>
</VirtualHost>remote에서 웹브라우져로 www.localhost.co.kr:8800 로 접근시 index.html 의 내용은 보입니다.
하지만 이클립스에서 git로 push 할때는 접근이 안되고 있습니다.
먼가 빠진게 있을까요?
미리 감사드립니다.
Forums: 


댓글 달기