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,989
bbbking
20년 전 조회 5,787
20년 전 조회 4,195
20년 전 조회 2,450
20년 전 조회 3,253
20년 전 조회 1,976
20년 전 조회 1,631
20년 전 조회 3,211
20년 전 조회 3,613
20년 전 조회 5,170
20년 전 조회 5,858
20년 전 조회 3,736
20년 전 조회 5,086
20년 전 조회 3,361
20년 전 조회 3,688
bbbking
20년 전 조회 8,002
bbbking
20년 전 조회 5,970
20년 전 조회 4,532
20년 전 조회 4,086
20년 전 조회 2,825
20년 전 조회 2,768
20년 전 조회 2,410
20년 전 조회 1,703
20년 전 조회 2,328
20년 전 조회 3,733
20년 전 조회 4,187
20년 전 조회 1.1만
20년 전 조회 5,107
20년 전 조회 3,428
20년 전 조회 3,243
20년 전 조회 3,887
20년 전 조회 2,131
20년 전 조회 3,219
20년 전 조회 3,407
20년 전 조회 2,469
20년 전 조회 5,544
20년 전 조회 2,590
20년 전 조회 3,031
20년 전 조회 4,269
20년 전 조회 2,684
20년 전 조회 2,365
20년 전 조회 3,745
20년 전 조회 2,154
20년 전 조회 3,627
20년 전 조회 2,548
20년 전 조회 2,988
20년 전 조회 2,284
20년 전 조회 3,405
20년 전 조회 2,994
20년 전 조회 3,126
20년 전 조회 2,207
20년 전 조회 1,923
20년 전 조회 2,412
20년 전 조회 2,047
20년 전 조회 1,735
20년 전 조회 1,917
20년 전 조회 4,026
20년 전 조회 1,752
20년 전 조회 2,083
20년 전 조회 2,410
20년 전 조회 1,890
20년 전 조회 3,029
20년 전 조회 2,082
20년 전 조회 2,162
20년 전 조회 3,722
20년 전 조회 3,035
20년 전 조회 2,161
20년 전 조회 1만
20년 전 조회 2,298
20년 전 조회 1,661
20년 전 조회 2,717
20년 전 조회 2,328
20년 전 조회 1,726
20년 전 조회 1,529
20년 전 조회 1,960
20년 전 조회 1,755
20년 전 조회 1,790
20년 전 조회 2,400
20년 전 조회 1,604
20년 전 조회 1,553
20년 전 조회 1,686
20년 전 조회 2,773
20년 전 조회 1,837
20년 전 조회 1,909
20년 전 조회 2,033
20년 전 조회 1,854
20년 전 조회 1,940
20년 전 조회 1,762
20년 전 조회 2,125
20년 전 조회 1,852
20년 전 조회 2,623
20년 전 조회 2,317
20년 전 조회 2,606
20년 전 조회 1,538
20년 전 조회 1,646
20년 전 조회 2,203
20년 전 조회 1,677
20년 전 조회 3,820
20년 전 조회 2,699
20년 전 조회 2,131