T

가상호스트 무단링크 막기?

아래의 설정이 100% 맞다고 확신은 못하겠습니다.


<--- 가상호스트
ServerAdmin your@email.com
DocumentRoot /home/user/dir
Servername your.domain.net
SetEnvIf Referer 211\.xx\.xxx\.xx link_allow <== 다운로드 허용할 IP(전 본 아이피를 사용하는 서버에서는 링크 가능하도록 하기 위해..)
SetEnvIf Referer ^$ link_allow
<== 제한을 걸 확장자들
Order Deny,Allow
Allow from env=link_allow
Deny from all




위와같이 설정을 하게 되면 설정한 확장자들에 한해 무단링크를 했을경우
============================
Forbidden
You don't have permission to access /rainbowsix.LCD on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.27 Server at xxxxxxxx Port 80
=============================

같은 에러 메시지가 뜨게 됩니다.





원본: http://tunelinux.pe.kr/bbs/read.php?table=linuxinfo&no=105<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:30:25 Apache에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
20년 전 조회 6,049
bbbking
20년 전 조회 5,850
20년 전 조회 4,254
20년 전 조회 2,515
20년 전 조회 3,303
20년 전 조회 2,033
20년 전 조회 1,692
20년 전 조회 3,268
20년 전 조회 3,669
20년 전 조회 5,225
20년 전 조회 5,914
20년 전 조회 3,791
20년 전 조회 5,150
20년 전 조회 3,422
20년 전 조회 3,746
bbbking
20년 전 조회 8,067
bbbking
20년 전 조회 6,020
20년 전 조회 4,595
20년 전 조회 4,146
20년 전 조회 2,885
20년 전 조회 2,827
20년 전 조회 2,464
20년 전 조회 1,763
20년 전 조회 2,385
20년 전 조회 3,792
20년 전 조회 4,242
20년 전 조회 1.1만
20년 전 조회 5,166
20년 전 조회 3,486
20년 전 조회 3,297
20년 전 조회 3,946
20년 전 조회 2,191
20년 전 조회 3,281
20년 전 조회 3,463
20년 전 조회 2,522
20년 전 조회 5,604
20년 전 조회 2,651
20년 전 조회 3,089
20년 전 조회 4,333
20년 전 조회 2,734
20년 전 조회 2,422
20년 전 조회 3,808
20년 전 조회 2,210
20년 전 조회 3,695
20년 전 조회 2,610
20년 전 조회 3,041
20년 전 조회 2,340
20년 전 조회 3,460
20년 전 조회 3,047
20년 전 조회 3,177
20년 전 조회 2,272
20년 전 조회 1,977
20년 전 조회 2,468
20년 전 조회 2,100
20년 전 조회 1,788
20년 전 조회 1,973
20년 전 조회 4,080
20년 전 조회 1,805
20년 전 조회 2,141
20년 전 조회 2,474
20년 전 조회 1,951
20년 전 조회 3,092
20년 전 조회 2,140
20년 전 조회 2,221
20년 전 조회 3,785
20년 전 조회 3,084
20년 전 조회 2,215
20년 전 조회 1만
20년 전 조회 2,362
20년 전 조회 1,708
20년 전 조회 2,782
20년 전 조회 2,388
20년 전 조회 1,790
20년 전 조회 1,596
20년 전 조회 2,027
20년 전 조회 1,814
20년 전 조회 1,851
20년 전 조회 2,453
20년 전 조회 1,662
20년 전 조회 1,605
20년 전 조회 1,750
20년 전 조회 2,830
20년 전 조회 1,895
20년 전 조회 1,966
20년 전 조회 2,088
20년 전 조회 1,916
20년 전 조회 1,997
20년 전 조회 1,810
20년 전 조회 2,181
20년 전 조회 1,906
20년 전 조회 2,680
20년 전 조회 2,365
20년 전 조회 2,662
20년 전 조회 1,604
20년 전 조회 1,698
20년 전 조회 2,272
20년 전 조회 1,738
20년 전 조회 3,870
20년 전 조회 2,749
20년 전 조회 2,182