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,926
bbbking
20년 전 조회 5,728
20년 전 조회 4,139
20년 전 조회 2,390
20년 전 조회 3,189
20년 전 조회 1,917
20년 전 조회 1,577
20년 전 조회 3,149
20년 전 조회 3,557
20년 전 조회 5,111
20년 전 조회 5,801
20년 전 조회 3,672
20년 전 조회 5,022
20년 전 조회 3,301
20년 전 조회 3,630
bbbking
20년 전 조회 7,944
bbbking
20년 전 조회 5,913
20년 전 조회 4,480
20년 전 조회 4,029
20년 전 조회 2,772
20년 전 조회 2,703
20년 전 조회 2,350
20년 전 조회 1,640
20년 전 조회 2,265
20년 전 조회 3,667
20년 전 조회 4,129
20년 전 조회 1만
20년 전 조회 5,047
20년 전 조회 3,375
20년 전 조회 3,188
20년 전 조회 3,830
20년 전 조회 2,075
20년 전 조회 3,159
20년 전 조회 3,345
20년 전 조회 2,408
20년 전 조회 5,486
20년 전 조회 2,539
20년 전 조회 2,976
20년 전 조회 4,219
20년 전 조회 2,620
20년 전 조회 2,302
20년 전 조회 3,692
20년 전 조회 2,093
20년 전 조회 3,579
20년 전 조회 2,490
20년 전 조회 2,919
20년 전 조회 2,226
20년 전 조회 3,344
20년 전 조회 2,937
20년 전 조회 3,065
20년 전 조회 2,151
20년 전 조회 1,870
20년 전 조회 2,352
20년 전 조회 1,990
20년 전 조회 1,681
20년 전 조회 1,867
20년 전 조회 3,965
20년 전 조회 1,691
20년 전 조회 2,022
20년 전 조회 2,365
20년 전 조회 1,833
20년 전 조회 2,974
20년 전 조회 2,029
20년 전 조회 2,100
20년 전 조회 3,665
20년 전 조회 2,983
20년 전 조회 2,112
20년 전 조회 1만
20년 전 조회 2,246
20년 전 조회 1,593
20년 전 조회 2,671
20년 전 조회 2,277
20년 전 조회 1,672
20년 전 조회 1,483
20년 전 조회 1,907
20년 전 조회 1,704
20년 전 조회 1,742
20년 전 조회 2,347
20년 전 조회 1,552
20년 전 조회 1,497
20년 전 조회 1,640
20년 전 조회 2,727
20년 전 조회 1,799
20년 전 조회 1,864
20년 전 조회 1,987
20년 전 조회 1,808
20년 전 조회 1,886
20년 전 조회 1,706
20년 전 조회 2,070
20년 전 조회 1,796
20년 전 조회 2,563
20년 전 조회 2,270
20년 전 조회 2,558
20년 전 조회 1,490
20년 전 조회 1,589
20년 전 조회 2,158
20년 전 조회 1,627
20년 전 조회 3,756
20년 전 조회 2,648
20년 전 조회 2,079