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,920
bbbking
20년 전 조회 5,717
20년 전 조회 4,133
20년 전 조회 2,378
20년 전 조회 3,183
20년 전 조회 1,907
20년 전 조회 1,569
20년 전 조회 3,139
20년 전 조회 3,548
20년 전 조회 5,097
20년 전 조회 5,795
20년 전 조회 3,666
20년 전 조회 5,011
20년 전 조회 3,288
20년 전 조회 3,624
bbbking
20년 전 조회 7,935
bbbking
20년 전 조회 5,905
20년 전 조회 4,472
20년 전 조회 4,024
20년 전 조회 2,762
20년 전 조회 2,699
20년 전 조회 2,338
20년 전 조회 1,633
20년 전 조회 2,252
20년 전 조회 3,665
20년 전 조회 4,124
20년 전 조회 1만
20년 전 조회 5,039
20년 전 조회 3,369
20년 전 조회 3,184
20년 전 조회 3,820
20년 전 조회 2,066
20년 전 조회 3,153
20년 전 조회 3,340
20년 전 조회 2,403
20년 전 조회 5,475
20년 전 조회 2,532
20년 전 조회 2,969
20년 전 조회 4,213
20년 전 조회 2,611
20년 전 조회 2,296
20년 전 조회 3,687
20년 전 조회 2,082
20년 전 조회 3,569
20년 전 조회 2,486
20년 전 조회 2,913
20년 전 조회 2,216
20년 전 조회 3,338
20년 전 조회 2,929
20년 전 조회 3,054
20년 전 조회 2,145
20년 전 조회 1,862
20년 전 조회 2,349
20년 전 조회 1,982
20년 전 조회 1,675
20년 전 조회 1,861
20년 전 조회 3,956
20년 전 조회 1,684
20년 전 조회 2,019
20년 전 조회 2,359
20년 전 조회 1,830
20년 전 조회 2,966
20년 전 조회 2,018
20년 전 조회 2,096
20년 전 조회 3,657
20년 전 조회 2,978
20년 전 조회 2,106
20년 전 조회 1만
20년 전 조회 2,239
20년 전 조회 1,587
20년 전 조회 2,660
20년 전 조회 2,273
20년 전 조회 1,666
20년 전 조회 1,473
20년 전 조회 1,899
20년 전 조회 1,699
20년 전 조회 1,731
20년 전 조회 2,341
20년 전 조회 1,545
20년 전 조회 1,490
20년 전 조회 1,631
20년 전 조회 2,723
20년 전 조회 1,794
20년 전 조회 1,856
20년 전 조회 1,982
20년 전 조회 1,805
20년 전 조회 1,877
20년 전 조회 1,694
20년 전 조회 2,067
20년 전 조회 1,789
20년 전 조회 2,560
20년 전 조회 2,263
20년 전 조회 2,549
20년 전 조회 1,482
20년 전 조회 1,585
20년 전 조회 2,154
20년 전 조회 1,620
20년 전 조회 3,752
20년 전 조회 2,639
20년 전 조회 2,075