외부 링크 막기 > 리눅스 Tip

본문 바로가기
사이트 내 전체검색

리눅스 Tip

외부 링크 막기

페이지 정보

본문

httpd.conf 에서 아래와 같은 방법으로 막아보십시오.

<VirtualHost *:80>
    DocumentRoot ...
    ServerName sir.co.kr
    ServerAlias www.sir.co.kr wwww.sir.co.kr ww.sir.co.kr
    #  외부링크방지
    SetEnvIfNoCase Referer sir\.co\.kr link_allow
    SetEnvIfNoCase Referer www\.sir\.co\.kr link_allow
    SetEnvIfNoCase Referer ^$ link_allow
    <FilesMatch "\.(jpe?g|gif|png|bmp|avi|swf|mpe?g|zip|z[00-99]|rar|mp[1-9]|arj|exe|asf|wm[a-z]*|ra[a-z]*|alz|ZIP|Z[00-99])$">
        Order Deny,Allow
        Allow from env=link_allow
        Deny from all
    </FilesMatch>
</VirtualHost>

댓글목록

등록된 댓글이 없습니다.

Total 289건 1 페이지
리눅스 Tip 목록
번호 제목 글쓴이 조회 날짜
289 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 4498 11-19
288 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 6137 08-15
287 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 6012 08-15
286 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3431 08-10
285 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 5750 05-18
열람중 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 2999 05-18
283 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3195 05-18
282 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3419 03-01
281 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3262 01-31
280 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 2871 01-30
279 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 2842 01-30
278 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3675 11-11
277 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 2347 11-09
276 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3469 11-05
275 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3400 09-16
274 no_profile 이즈쪽지보내기 자기소개 아이디로 검색 전체게시물 3981 08-22

검색

회원로그인

회원가입

사이트 정보

컴퓨터 정보,윈도우즈,리눅스,포토샵,3ds
맥스,프로그래밍 강좌팁

접속자집계

오늘
192
어제
558
최대
5,287
전체
630,297
Copyright © www.qdata.co.kr All rights reserved.