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,903
bbbking
20년 전 조회 5,690
20년 전 조회 4,116
20년 전 조회 2,364
20년 전 조회 3,162
20년 전 조회 1,883
20년 전 조회 1,549
20년 전 조회 3,117
20년 전 조회 3,521
20년 전 조회 5,077
20년 전 조회 5,782
20년 전 조회 3,652
20년 전 조회 4,986
20년 전 조회 3,266
20년 전 조회 3,607
bbbking
20년 전 조회 7,914
bbbking
20년 전 조회 5,881
20년 전 조회 4,456
20년 전 조회 4,007
20년 전 조회 2,740
20년 전 조회 2,683
20년 전 조회 2,316
20년 전 조회 1,606
20년 전 조회 2,227
20년 전 조회 3,644
20년 전 조회 4,103
20년 전 조회 1만
20년 전 조회 5,023
20년 전 조회 3,344
20년 전 조회 3,160
20년 전 조회 3,804
20년 전 조회 2,037
20년 전 조회 3,134
20년 전 조회 3,322
20년 전 조회 2,383
20년 전 조회 5,456
20년 전 조회 2,507
20년 전 조회 2,946
20년 전 조회 4,195
20년 전 조회 2,596
20년 전 조회 2,276
20년 전 조회 3,663
20년 전 조회 2,063
20년 전 조회 3,549
20년 전 조회 2,467
20년 전 조회 2,893
20년 전 조회 2,198
20년 전 조회 3,320
20년 전 조회 2,908
20년 전 조회 3,034
20년 전 조회 2,132
20년 전 조회 1,842
20년 전 조회 2,327
20년 전 조회 1,959
20년 전 조회 1,655
20년 전 조회 1,843
20년 전 조회 3,936
20년 전 조회 1,663
20년 전 조회 2,001
20년 전 조회 2,336
20년 전 조회 1,809
20년 전 조회 2,943
20년 전 조회 1,995
20년 전 조회 2,076
20년 전 조회 3,640
20년 전 조회 2,957
20년 전 조회 2,081
20년 전 조회 1만
20년 전 조회 2,224
20년 전 조회 1,566
20년 전 조회 2,637
20년 전 조회 2,257
20년 전 조회 1,651
20년 전 조회 1,451
20년 전 조회 1,881
20년 전 조회 1,676
20년 전 조회 1,712
20년 전 조회 2,323
20년 전 조회 1,529
20년 전 조회 1,471
20년 전 조회 1,610
20년 전 조회 2,702
20년 전 조회 1,780
20년 전 조회 1,836
20년 전 조회 1,962
20년 전 조회 1,785
20년 전 조회 1,857
20년 전 조회 1,677
20년 전 조회 2,047
20년 전 조회 1,767
20년 전 조회 2,539
20년 전 조회 2,250
20년 전 조회 2,534
20년 전 조회 1,463
20년 전 조회 1,560
20년 전 조회 2,136
20년 전 조회 1,595
20년 전 조회 3,732
20년 전 조회 2,620
20년 전 조회 2,055
🐛 버그신고