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,069
bbbking
20년 전 조회 5,870
20년 전 조회 4,273
20년 전 조회 2,532
20년 전 조회 3,315
20년 전 조회 2,056
20년 전 조회 1,708
20년 전 조회 3,289
20년 전 조회 3,695
20년 전 조회 5,237
20년 전 조회 5,934
20년 전 조회 3,806
20년 전 조회 5,172
20년 전 조회 3,437
20년 전 조회 3,762
bbbking
20년 전 조회 8,081
bbbking
20년 전 조회 6,039
20년 전 조회 4,610
20년 전 조회 4,168
20년 전 조회 2,901
20년 전 조회 2,849
20년 전 조회 2,488
20년 전 조회 1,783
20년 전 조회 2,402
20년 전 조회 3,809
20년 전 조회 4,262
20년 전 조회 1.1만
20년 전 조회 5,177
20년 전 조회 3,504
20년 전 조회 3,317
20년 전 조회 3,962
20년 전 조회 2,210
20년 전 조회 3,297
20년 전 조회 3,478
20년 전 조회 2,544
20년 전 조회 5,621
20년 전 조회 2,662
20년 전 조회 3,105
20년 전 조회 4,359
20년 전 조회 2,752
20년 전 조회 2,442
20년 전 조회 3,824
20년 전 조회 2,232
20년 전 조회 3,712
20년 전 조회 2,627
20년 전 조회 3,054
20년 전 조회 2,355
20년 전 조회 3,479
20년 전 조회 3,065
20년 전 조회 3,194
20년 전 조회 2,293
20년 전 조회 1,996
20년 전 조회 2,491
20년 전 조회 2,118
20년 전 조회 1,805
20년 전 조회 1,992
20년 전 조회 4,096
20년 전 조회 1,823
20년 전 조회 2,158
20년 전 조회 2,494
20년 전 조회 1,969
20년 전 조회 3,108
20년 전 조회 2,160
20년 전 조회 2,240
20년 전 조회 3,812
20년 전 조회 3,103
20년 전 조회 2,238
20년 전 조회 1만
20년 전 조회 2,380
20년 전 조회 1,730
20년 전 조회 2,802
20년 전 조회 2,405
20년 전 조회 1,808
20년 전 조회 1,613
20년 전 조회 2,046
20년 전 조회 1,830
20년 전 조회 1,869
20년 전 조회 2,467
20년 전 조회 1,679
20년 전 조회 1,626
20년 전 조회 1,764
20년 전 조회 2,852
20년 전 조회 1,910
20년 전 조회 1,976
20년 전 조회 2,106
20년 전 조회 1,934
20년 전 조회 2,016
20년 전 조회 1,832
20년 전 조회 2,203
20년 전 조회 1,927
20년 전 조회 2,694
20년 전 조회 2,392
20년 전 조회 2,680
20년 전 조회 1,614
20년 전 조회 1,710
20년 전 조회 2,290
20년 전 조회 1,756
20년 전 조회 3,882
20년 전 조회 2,765
20년 전 조회 2,206