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,033
bbbking
20년 전 조회 5,840
20년 전 조회 4,239
20년 전 조회 2,491
20년 전 조회 3,287
20년 전 조회 2,024
20년 전 조회 1,683
20년 전 조회 3,254
20년 전 조회 3,657
20년 전 조회 5,211
20년 전 조회 5,903
20년 전 조회 3,779
20년 전 조회 5,131
20년 전 조회 3,405
20년 전 조회 3,736
bbbking
20년 전 조회 8,050
bbbking
20년 전 조회 6,012
20년 전 조회 4,580
20년 전 조회 4,134
20년 전 조회 2,871
20년 전 조회 2,808
20년 전 조회 2,455
20년 전 조회 1,746
20년 전 조회 2,367
20년 전 조회 3,780
20년 전 조회 4,232
20년 전 조회 1.1만
20년 전 조회 5,154
20년 전 조회 3,474
20년 전 조회 3,282
20년 전 조회 3,930
20년 전 조회 2,171
20년 전 조회 3,264
20년 전 조회 3,450
20년 전 조회 2,512
20년 전 조회 5,584
20년 전 조회 2,629
20년 전 조회 3,076
20년 전 조회 4,314
20년 전 조회 2,723
20년 전 조회 2,411
20년 전 조회 3,792
20년 전 조회 2,192
20년 전 조회 3,681
20년 전 조회 2,586
20년 전 조회 3,028
20년 전 조회 2,326
20년 전 조회 3,443
20년 전 조회 3,040
20년 전 조회 3,162
20년 전 조회 2,256
20년 전 조회 1,967
20년 전 조회 2,457
20년 전 조회 2,088
20년 전 조회 1,779
20년 전 조회 1,965
20년 전 조회 4,070
20년 전 조회 1,792
20년 전 조회 2,124
20년 전 조회 2,459
20년 전 조회 1,938
20년 전 조회 3,078
20년 전 조회 2,128
20년 전 조회 2,206
20년 전 조회 3,771
20년 전 조회 3,077
20년 전 조회 2,206
20년 전 조회 1만
20년 전 조회 2,345
20년 전 조회 1,697
20년 전 조회 2,768
20년 전 조회 2,369
20년 전 조회 1,776
20년 전 조회 1,579
20년 전 조회 2,009
20년 전 조회 1,801
20년 전 조회 1,837
20년 전 조회 2,442
20년 전 조회 1,652
20년 전 조회 1,592
20년 전 조회 1,733
20년 전 조회 2,818
20년 전 조회 1,879
20년 전 조회 1,953
20년 전 조회 2,078
20년 전 조회 1,901
20년 전 조회 1,985
20년 전 조회 1,797
20년 전 조회 2,170
20년 전 조회 1,895
20년 전 조회 2,668
20년 전 조회 2,359
20년 전 조회 2,650
20년 전 조회 1,591
20년 전 조회 1,690
20년 전 조회 2,253
20년 전 조회 1,721
20년 전 조회 3,858
20년 전 조회 2,737
20년 전 조회 2,169