리눅스

Total 331
Today 0
profile_image
윤진한
06-05-26 15:51 0개 21회
설치문서
아파치 웹 프락시 설치
그냥 아파치 컴파일 옵션에서 추가하면 되는 군요..... 으아~
질문 올렸다가..................
모듈 추가하고 이런 거 아주 피곤하고......

./configure --prefix=/usr/local/apacheProxy --enable-module=proxy
make
make install

# vi httpd.conf 에서 변경......
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
<IfModule mod_proxy.c>
    ProxyRequests On

    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from 192.1.1.
#      Allow from all
    </Directory>

    #
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
    # Set to one of: Off | On | Full | Block
    #
    ProxyVia Off

    #
    # To enable the cache as well, edit and uncomment the following lines:
    # (no cacheing without CacheRoot)
    #
    CacheRoot "/usr/local/apacheProxy/proxy"
    CacheSize 5
    CacheGcInterval 4
    CacheMaxExpire 24
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 1
    NoCache a_domain.com another_domain.edu joes.garage_sale.com

</IfModule>
# End of proxy directives.

댓글목록

등록된 댓글이 없습니다.