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. [linux] ipchains 사용예(패킷 필터링)

    Date2003.04.23 CategorySystem/OS Byhooni Views14171
    Read More
  2. [linux] ipfwadm를 이용한 패킷필터링(구버전)

    Date2003.04.23 CategorySystem/OS Byhooni Views13015
    Read More
  3. [windows] 98/ME 속도 빠르게 튜닝(부팅,메모리,레지스터)

    Date2003.04.23 CategorySystem/OS Byhooni Views50439
    Read More
  4. [windows] 도스 사용 팁

    Date2003.04.23 CategorySystem/OS Byhooni Views17806
    Read More
  5. [windows] 여러가지 활용 팁

    Date2003.04.23 CategorySystem/OS Byhooni Views19969
    Read More
  6. [windows] 배치(bat)파일 제작 방법

    Date2003.04.23 CategorySystem/OS Byhooni Views17002
    Read More
  7. [linux] 패킷 스니퍼링

    Date2003.04.23 CategorySystem/OS Byhooni Views16315
    Read More
  8. [linux] 패킷의 소스 주소 바꾸기

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

    Date2003.04.23 CategorySystem/OS Byhooni Views11333
    Read More
  10. [linux] 간단한 NAT 설정 script

    Date2003.04.23 CategorySystem/OS Byhooni Views12597
    Read More
  11. [linux] 랜카드 2개 설정 & iptables 로 사설 ip..

    Date2003.04.23 CategorySystem/OS Byhooni Views14732
    Read More
  12. [linux] apache, php, jsp 환경설정하기..

    Date2003.04.23 CategorySystem/OS Byhooni Views15232
    Read More
  13. [linux] Oracle8.1.6, Mysql+PHP+Zend Optimizer+APACHE+Tomcat(jsp,servlet)+IMAP+gd

    Date2003.04.23 CategorySystem/OS Byhooni Views32452
    Read More
  14. [linux] 특수문자 환경 설정(stty)

    Date2003.04.23 CategorySystem/OS Byhooni Views15275
    Read More
  15. [linux] 메타(기호)문자의 의미와 사용

    Date2003.04.23 CategorySystem/OS Byhooni Views16384
    Read More
  16. [linux] 프로세스 상태확인(ps)

    Date2003.04.23 CategorySystem/OS Byhooni Views12703
    Read More
Board Pagination Prev 1 5 6 7 8 9 ... 74 Next
/ 74