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,046
bbbking
20년 전 조회 5,848
20년 전 조회 4,250
20년 전 조회 2,508
20년 전 조회 3,297
20년 전 조회 2,029
20년 전 조회 1,690
20년 전 조회 3,265
20년 전 조회 3,665
20년 전 조회 5,223
20년 전 조회 5,912
20년 전 조회 3,789
20년 전 조회 5,140
20년 전 조회 3,419
20년 전 조회 3,742
bbbking
20년 전 조회 8,063
bbbking
20년 전 조회 6,020
20년 전 조회 4,593
20년 전 조회 4,143
20년 전 조회 2,884
20년 전 조회 2,819
20년 전 조회 2,464
20년 전 조회 1,758
20년 전 조회 2,380
20년 전 조회 3,788
20년 전 조회 4,238
20년 전 조회 1.1만
20년 전 조회 5,162
20년 전 조회 3,481
20년 전 조회 3,293
20년 전 조회 3,941
20년 전 조회 2,188
20년 전 조회 3,279
20년 전 조회 3,461
20년 전 조회 2,520
20년 전 조회 5,599
20년 전 조회 2,644
20년 전 조회 3,087
20년 전 조회 4,331
20년 전 조회 2,733
20년 전 조회 2,420
20년 전 조회 3,807
20년 전 조회 2,206
20년 전 조회 3,690
20년 전 조회 2,606
20년 전 조회 3,038
20년 전 조회 2,336
20년 전 조회 3,458
20년 전 조회 3,045
20년 전 조회 3,174
20년 전 조회 2,268
20년 전 조회 1,974
20년 전 조회 2,466
20년 전 조회 2,098
20년 전 조회 1,786
20년 전 조회 1,973
20년 전 조회 4,080
20년 전 조회 1,803
20년 전 조회 2,137
20년 전 조회 2,472
20년 전 조회 1,950
20년 전 조회 3,091
20년 전 조회 2,138
20년 전 조회 2,217
20년 전 조회 3,780
20년 전 조회 3,081
20년 전 조회 2,214
20년 전 조회 1만
20년 전 조회 2,358
20년 전 조회 1,705
20년 전 조회 2,777
20년 전 조회 2,383
20년 전 조회 1,788
20년 전 조회 1,591
20년 전 조회 2,019
20년 전 조회 1,811
20년 전 조회 1,846
20년 전 조회 2,450
20년 전 조회 1,660
20년 전 조회 1,603
20년 전 조회 1,746
20년 전 조회 2,825
20년 전 조회 1,891
20년 전 조회 1,963
20년 전 조회 2,085
20년 전 조회 1,913
20년 전 조회 1,994
20년 전 조회 1,808
20년 전 조회 2,180
20년 전 조회 1,906
20년 전 조회 2,677
20년 전 조회 2,363
20년 전 조회 2,657
20년 전 조회 1,599
20년 전 조회 1,695
20년 전 조회 2,268
20년 전 조회 1,734
20년 전 조회 3,867
20년 전 조회 2,744
20년 전 조회 2,180