System/OS
2003.04.23 10:28

[linux] 아파치 설치/설정(proxy)

Views 12965 Votes 0 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
1. 아파치 설치

   $ ./configure  --enable-rule=SHARED_CORE  --enable-module=so  --prefix=/apache
   $ make; make install

2. 프록시 모듈 설정

   $ vi $Apache_Home/src/Configuration 
     Module proxy_module modules/proxy/libproxy.a 

3. 재컴파일

   $ ./configure  --enable-rule=SHARED_CORE  --enable-module=so  --prefix=/apache
   $ make; make install

4. 아파치 환경 조정

   $ vi Apache_Home/conf/http.conf
     ProxyRequests On                         # ProxyRequests: Proxy 로 동작하도록 설정 
     CacheRoot /usr/local/httpd/proxy         # CacheRoot: 캐쉬 파일들이 위치할 경로
     CacheSize 1024                          # CacheSize: 캐쉬 용량 단위 (Kbyte)
     CacheGcInterval 4                  # CacheGcInterval: Garbage Collection 간격, 단위 시간 
     CacheMaxExpire 24                  # CacheMaxExpire: 캐쉬 저장 시간 
     CacheLastModifiedFactor 0.1          # CacheLastModefiedFactor: Expire 기간 산정을 위한 요소 
     CacheDefaultExpire 1                 # CacheDefaultExpire: 캐쉬 디폴트 Expire 시간
     NoCache a_domain.com another_domain.edu joes.garage_sale.com        # NoCache: 캐쉬 하지 않을 사이트 지정  

5. 고급활용

   # ProxyRemote ( 특정 서비스를 원격 호스트로 넘김) 
   예) ProxyRemote http://www.uriel.net/ http://mirror.uriel.net:8080
       ProxyRemote * http://mirror.uriel.net 

   # ProxyPass ( 로컬 디렉토리의 원격 호스트로의 매핑 )
   예) ProxyPass /mirror/uriel http://www.uriel.net

   # ProxyBlock ( Proxy 서비스 금지 사이트 설정 )
   예) ProxyBlock www.hacker.com

?

  1. [unix] 유닉스 csh에서 환경변수 등록

    Date2003.04.23 CategorySystem/OS Byhooni Views11697
    Read More
  2. php.ini 설정 안됐을때.. ㅋㅋ

    Date2013.04.23 CategorySystem/OS Byhooni Views11639
    Read More
  3. [linux] GD 라이브러리 설치 방법..

    Date2013.04.23 CategorySystem/OS Byhooni Views11370
    Read More
  4. [linux] vi 편집기 간단한 명령과 환경설정

    Date2003.04.23 CategorySystem/OS Byhooni Views11359
    Read More
  5. [linux] iptables 명령어 매뉴얼(options)

    Date2003.04.23 CategorySystem/OS Byhooni Views11335
    Read More
  6. [doc] TCP/IP 강의 자료 (html)

    Date2013.04.23 CategorySystem/OS Byhooni Views11171
    Read More
  7. [linux] 시스템 데몬 종류와 설명

    Date2013.04.23 CategorySystem/OS Byhooni Views11139
    Read More
  8. [router] 라우팅 프로토콜 BGP (간단한 세팅)

    Date2013.04.23 CategorySystem/OS Byhooni Views10949
    Read More
  9. OSI (Open Systems Interconnection) 개방형 시스템간 상호 접속

    Date2013.04.23 CategorySystem/OS Byhooni Views10785
    Read More
  10. [mysql] 시간 관련 SQL구문..

    Date2013.04.23 CategorySystem/OS Byhooni Views10773
    Read More
  11. [linux] 프로세스의 stat 상태에 대한 설명

    Date2013.04.23 CategorySystem/OS Byhooni Views10758
    Read More
  12. [perl] 영규가 만든 스크립트.. 하하..

    Date2013.04.23 CategorySystem/OS Byhooni Views10597
    Read More
  13. [linux] SSH에 대한 기본 설명과 설치/설정

    Date2013.04.23 CategorySystem/OS Byhooni Views10493
    Read More
  14. [doc] 레드햇 리눅스 메뉴얼 (html버전)

    Date2013.04.23 CategorySystem/OS Byhooni Views10452
    Read More
  15. [linux] 데비안(debian.org) 리눅스 명령어 예제

    Date2006.04.23 CategorySystem/OS Byhooni Views10422
    Read More
  16. [unix] AIX쉘 초기 파일 (.cshrc)

    Date2013.04.23 CategorySystem/OS Byhooni Views10291
    Read More
Board Pagination Prev 1 ... 7 8 9 10 11 13 Next
/ 13