Apache HTTP 프록시 수동 업그레이드(Windows)

Apache HTTP Proxy를 최신 버전으로 업그레이드하려면 아래 단계를 따릅니다.

1.다음 파일을 백업합니다.

C:\Program Files\Apache HTTP Proxy 2.[x.xx]\conf\httpd.conf

C:\Program Files\Apache HTTP Proxy 2.[x.xx]\bin\password.file

C:\Program Files\Apache HTTP Proxy 2.[x.xx]\bin\group.file

2.관리 명령 프롬프트를 열고 다음 명령을 실행하여 ApacheHttpProxy 서비스를 중지합니다.

sc stop ApacheHttpProxy

3.ESET 다운로드 사이트에서 Apache HTTP Proxy 설치 관리자 파일을 다운로드하고 C:\Program Files\Apache HTTP Proxy 2.[x.xx]\에 해당 내용의 압축을 해제합니다. 압축을 해제하는 동안 기존 파일을 덮어씁니다.

4.C:\Program Files\Apache HTTP Proxy 2.[x.xx]\conf로 이동하여 오른쪽 마우스 버튼 메뉴에서 ttpd.conf를 오른쪽 마우스 버튼으로 클릭하고 연결 프로그램 > 메모장을 선택합니다.

5.httpd.conf의 아래쪽에 다음 코드를 추가합니다.

ServerRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]"
DocumentRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs"
<Directory "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs">
 Options Indexes FollowSymLinks
 AllowOverride None
 Require all granted
</Directory>
CacheRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\cache"

6.Apache HTTP 프록시에 접근하기 위한 사용자 이름/비밀번호를 설정한 경우(Apache HTTP 프록시 설치 항목) 다음 코드 블록을 바꿉니다.

<Proxy *>
 Deny from all
</Proxy>

바꿀 내용(1단계에서 백업한 httpd.conf 파일에 있음):

<Proxy *>
 AuthType Basic
 AuthName "Password Required"
 AuthUserFile password.file
 AuthGroupFile group.file
 Require group usergroup
 Order deny,allow
 Deny from all
 Allow from all
</Proxy>


important

이전 Apache HTTP 프록시 설치 때 httpd.conf 파일에 기타 사용자 지정 사항을 적용한 경우 백업한 httpd.conf 파일의 해당 수정 내용을 새(업그레이드) httpd.conf 파일에 복사하십시오.

7.변경 내용을 저장하고 관리 명령 프롬프트에서 다음 명령을 실행하여 ApacheHttpProxy 서비스를 시작합니다.

sc start ApacheHttpProxy

8.서비스 설명에서 버전을 업데이트합니다.

sc description ApacheHttpProxy "Apache/2.4.43"

9.브라우저에서 다음 URL에 접근하여 Apache HTTP 프록시에 대한 연결을 테스트합니다.

http://[IP address]:3128/index.html

문제를 해결해야 하는 경우 Apache HTTP 프록시 로그 파일을 참조하십시오.