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,914
bbbking
20년 전 조회 5,705
20년 전 조회 4,125
20년 전 조회 2,372
20년 전 조회 3,169
20년 전 조회 1,894
20년 전 조회 1,557
20년 전 조회 3,127
20년 전 조회 3,531
20년 전 조회 5,084
20년 전 조회 5,790
20년 전 조회 3,657
20년 전 조회 4,997
20년 전 조회 3,273
20년 전 조회 3,614
bbbking
20년 전 조회 7,923
bbbking
20년 전 조회 5,891
20년 전 조회 4,465
20년 전 조회 4,018
20년 전 조회 2,747
20년 전 조회 2,694
20년 전 조회 2,324
20년 전 조회 1,613
20년 전 조회 2,237
20년 전 조회 3,659
20년 전 조회 4,110
20년 전 조회 1만
20년 전 조회 5,031
20년 전 조회 3,352
20년 전 조회 3,167
20년 전 조회 3,812
20년 전 조회 2,052
20년 전 조회 3,141
20년 전 조회 3,332
20년 전 조회 2,393
20년 전 조회 5,467
20년 전 조회 2,518
20년 전 조회 2,960
20년 전 조회 4,204
20년 전 조회 2,607
20년 전 조회 2,287
20년 전 조회 3,672
20년 전 조회 2,073
20년 전 조회 3,560
20년 전 조회 2,476
20년 전 조회 2,905
20년 전 조회 2,207
20년 전 조회 3,328
20년 전 조회 2,917
20년 전 조회 3,041
20년 전 조회 2,139
20년 전 조회 1,850
20년 전 조회 2,337
20년 전 조회 1,970
20년 전 조회 1,667
20년 전 조회 1,855
20년 전 조회 3,944
20년 전 조회 1,672
20년 전 조회 2,011
20년 전 조회 2,346
20년 전 조회 1,822
20년 전 조회 2,953
20년 전 조회 2,005
20년 전 조회 2,087
20년 전 조회 3,650
20년 전 조회 2,967
20년 전 조회 2,090
20년 전 조회 1만
20년 전 조회 2,230
20년 전 조회 1,574
20년 전 조회 2,649
20년 전 조회 2,263
20년 전 조회 1,661
20년 전 조회 1,463
20년 전 조회 1,891
20년 전 조회 1,687
20년 전 조회 1,721
20년 전 조회 2,334
20년 전 조회 1,539
20년 전 조회 1,479
20년 전 조회 1,622
20년 전 조회 2,714
20년 전 조회 1,789
20년 전 조회 1,844
20년 전 조회 1,969
20년 전 조회 1,793
20년 전 조회 1,868
20년 전 조회 1,688
20년 전 조회 2,058
20년 전 조회 1,774
20년 전 조회 2,549
20년 전 조회 2,258
20년 전 조회 2,542
20년 전 조회 1,473
20년 전 조회 1,571
20년 전 조회 2,147
20년 전 조회 1,606
20년 전 조회 3,740
20년 전 조회 2,628
20년 전 조회 2,064