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년 전 조회 5,979
bbbking
20년 전 조회 5,774
20년 전 조회 4,188
20년 전 조회 2,439
20년 전 조회 3,240
20년 전 조회 1,970
20년 전 조회 1,623
20년 전 조회 3,203
20년 전 조회 3,607
20년 전 조회 5,164
20년 전 조회 5,844
20년 전 조회 3,727
20년 전 조회 5,080
20년 전 조회 3,353
20년 전 조회 3,674
bbbking
20년 전 조회 7,996
bbbking
20년 전 조회 5,959
20년 전 조회 4,525
20년 전 조회 4,079
20년 전 조회 2,818
20년 전 조회 2,765
20년 전 조회 2,405
20년 전 조회 1,696
20년 전 조회 2,317
20년 전 조회 3,723
20년 전 조회 4,182
20년 전 조회 1.1만
20년 전 조회 5,098
20년 전 조회 3,419
20년 전 조회 3,238
20년 전 조회 3,880
20년 전 조회 2,124
20년 전 조회 3,213
20년 전 조회 3,401
20년 전 조회 2,458
20년 전 조회 5,534
20년 전 조회 2,585
20년 전 조회 3,027
20년 전 조회 4,262
20년 전 조회 2,679
20년 전 조회 2,358
20년 전 조회 3,741
20년 전 조회 2,141
20년 전 조회 3,621
20년 전 조회 2,542
20년 전 조회 2,978
20년 전 조회 2,271
20년 전 조회 3,397
20년 전 조회 2,985
20년 전 조회 3,118
20년 전 조회 2,202
20년 전 조회 1,911
20년 전 조회 2,406
20년 전 조회 2,041
20년 전 조회 1,724
20년 전 조회 1,912
20년 전 조회 4,017
20년 전 조회 1,743
20년 전 조회 2,071
20년 전 조회 2,400
20년 전 조회 1,883
20년 전 조회 3,026
20년 전 조회 2,071
20년 전 조회 2,153
20년 전 조회 3,720
20년 전 조회 3,026
20년 전 조회 2,154
20년 전 조회 1만
20년 전 조회 2,289
20년 전 조회 1,646
20년 전 조회 2,709
20년 전 조회 2,323
20년 전 조회 1,719
20년 전 조회 1,521
20년 전 조회 1,953
20년 전 조회 1,748
20년 전 조회 1,781
20년 전 조회 2,390
20년 전 조회 1,593
20년 전 조회 1,542
20년 전 조회 1,677
20년 전 조회 2,763
20년 전 조회 1,830
20년 전 조회 1,899
20년 전 조회 2,024
20년 전 조회 1,846
20년 전 조회 1,929
20년 전 조회 1,748
20년 전 조회 2,116
20년 전 조회 1,845
20년 전 조회 2,612
20년 전 조회 2,303
20년 전 조회 2,597
20년 전 조회 1,531
20년 전 조회 1,634
20년 전 조회 2,199
20년 전 조회 1,671
20년 전 조회 3,810
20년 전 조회 2,691
20년 전 조회 2,122