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,145
bbbking
20년 전 조회 5,939
20년 전 조회 4,361
20년 전 조회 2,612
20년 전 조회 3,396
20년 전 조회 2,120
20년 전 조회 1,772
20년 전 조회 3,355
20년 전 조회 3,768
20년 전 조회 5,301
20년 전 조회 6,026
20년 전 조회 3,892
20년 전 조회 5,237
20년 전 조회 3,496
20년 전 조회 3,847
bbbking
20년 전 조회 8,154
bbbking
20년 전 조회 6,111
20년 전 조회 4,682
20년 전 조회 4,245
20년 전 조회 2,956
20년 전 조회 2,922
20년 전 조회 2,555
20년 전 조회 1,851
20년 전 조회 2,474
20년 전 조회 3,885
20년 전 조회 4,336
20년 전 조회 1.1만
20년 전 조회 5,252
20년 전 조회 3,566
20년 전 조회 3,394
20년 전 조회 4,034
20년 전 조회 2,289
20년 전 조회 3,370
20년 전 조회 3,560
20년 전 조회 2,619
20년 전 조회 5,686
20년 전 조회 2,740
20년 전 조회 3,172
20년 전 조회 4,428
20년 전 조회 2,830
20년 전 조회 2,521
20년 전 조회 3,906
21년 전 조회 2,301
21년 전 조회 3,775
21년 전 조회 2,689
21년 전 조회 3,115
21년 전 조회 2,433
21년 전 조회 3,547
21년 전 조회 3,136
21년 전 조회 3,259
21년 전 조회 2,362
21년 전 조회 2,073
21년 전 조회 2,558
21년 전 조회 2,178
21년 전 조회 1,881
21년 전 조회 2,064
21년 전 조회 4,159
21년 전 조회 1,879
21년 전 조회 2,222
21년 전 조회 2,562
21년 전 조회 2,048
21년 전 조회 3,171
21년 전 조회 2,212
21년 전 조회 2,304
21년 전 조회 3,885
21년 전 조회 3,172
21년 전 조회 2,295
21년 전 조회 1만
21년 전 조회 2,436
21년 전 조회 1,791
21년 전 조회 2,860
21년 전 조회 2,456
21년 전 조회 1,869
21년 전 조회 1,682
21년 전 조회 2,100
21년 전 조회 1,892
21년 전 조회 1,929
21년 전 조회 2,554
21년 전 조회 1,748
21년 전 조회 1,682
21년 전 조회 1,816
21년 전 조회 2,920
21년 전 조회 1,986
21년 전 조회 2,052
21년 전 조회 2,179
21년 전 조회 1,995
21년 전 조회 2,074
21년 전 조회 1,877
21년 전 조회 2,256
21년 전 조회 1,976
21년 전 조회 2,746
21년 전 조회 2,469
21년 전 조회 2,739
21년 전 조회 1,664
21년 전 조회 1,768
21년 전 조회 2,353
21년 전 조회 1,821
21년 전 조회 3,929
21년 전 조회 2,824
21년 전 조회 2,267