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,024
bbbking
20년 전 조회 5,837
20년 전 조회 4,235
20년 전 조회 2,488
20년 전 조회 3,283
20년 전 조회 2,016
20년 전 조회 1,679
20년 전 조회 3,248
20년 전 조회 3,650
20년 전 조회 5,206
20년 전 조회 5,899
20년 전 조회 3,771
20년 전 조회 5,128
20년 전 조회 3,401
20년 전 조회 3,727
bbbking
20년 전 조회 8,044
bbbking
20년 전 조회 6,005
20년 전 조회 4,575
20년 전 조회 4,131
20년 전 조회 2,864
20년 전 조회 2,803
20년 전 조회 2,447
20년 전 조회 1,744
20년 전 조회 2,364
20년 전 조회 3,775
20년 전 조회 4,229
20년 전 조회 1.1만
20년 전 조회 5,146
20년 전 조회 3,469
20년 전 조회 3,279
20년 전 조회 3,927
20년 전 조회 2,168
20년 전 조회 3,258
20년 전 조회 3,446
20년 전 조회 2,504
20년 전 조회 5,581
20년 전 조회 2,622
20년 전 조회 3,069
20년 전 조회 4,310
20년 전 조회 2,718
20년 전 조회 2,406
20년 전 조회 3,788
20년 전 조회 2,189
20년 전 조회 3,676
20년 전 조회 2,585
20년 전 조회 3,025
20년 전 조회 2,322
20년 전 조회 3,438
20년 전 조회 3,032
20년 전 조회 3,159
20년 전 조회 2,252
20년 전 조회 1,963
20년 전 조회 2,453
20년 전 조회 2,083
20년 전 조회 1,774
20년 전 조회 1,960
20년 전 조회 4,065
20년 전 조회 1,786
20년 전 조회 2,119
20년 전 조회 2,453
20년 전 조회 1,935
20년 전 조회 3,074
20년 전 조회 2,126
20년 전 조회 2,201
20년 전 조회 3,766
20년 전 조회 3,071
20년 전 조회 2,202
20년 전 조회 1만
20년 전 조회 2,339
20년 전 조회 1,687
20년 전 조회 2,761
20년 전 조회 2,365
20년 전 조회 1,771
20년 전 조회 1,575
20년 전 조회 2,000
20년 전 조회 1,794
20년 전 조회 1,833
20년 전 조회 2,436
20년 전 조회 1,646
20년 전 조회 1,586
20년 전 조회 1,728
20년 전 조회 2,814
20년 전 조회 1,876
20년 전 조회 1,949
20년 전 조회 2,074
20년 전 조회 1,896
20년 전 조회 1,978
20년 전 조회 1,792
20년 전 조회 2,163
20년 전 조회 1,888
20년 전 조회 2,665
20년 전 조회 2,353
20년 전 조회 2,645
20년 전 조회 1,585
20년 전 조회 1,682
20년 전 조회 2,250
20년 전 조회 1,717
20년 전 조회 3,852
20년 전 조회 2,732
20년 전 조회 2,164