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,905
bbbking
20년 전 조회 5,691
20년 전 조회 4,117
20년 전 조회 2,365
20년 전 조회 3,164
20년 전 조회 1,884
20년 전 조회 1,550
20년 전 조회 3,118
20년 전 조회 3,522
20년 전 조회 5,078
20년 전 조회 5,783
20년 전 조회 3,653
20년 전 조회 4,987
20년 전 조회 3,268
20년 전 조회 3,608
bbbking
20년 전 조회 7,915
bbbking
20년 전 조회 5,882
20년 전 조회 4,457
20년 전 조회 4,009
20년 전 조회 2,741
20년 전 조회 2,685
20년 전 조회 2,318
20년 전 조회 1,609
20년 전 조회 2,228
20년 전 조회 3,646
20년 전 조회 4,104
20년 전 조회 1만
20년 전 조회 5,025
20년 전 조회 3,345
20년 전 조회 3,161
20년 전 조회 3,805
20년 전 조회 2,038
20년 전 조회 3,135
20년 전 조회 3,323
20년 전 조회 2,384
20년 전 조회 5,458
20년 전 조회 2,509
20년 전 조회 2,949
20년 전 조회 4,196
20년 전 조회 2,598
20년 전 조회 2,279
20년 전 조회 3,664
20년 전 조회 2,065
20년 전 조회 3,552
20년 전 조회 2,470
20년 전 조회 2,895
20년 전 조회 2,201
20년 전 조회 3,322
20년 전 조회 2,911
20년 전 조회 3,036
20년 전 조회 2,133
20년 전 조회 1,844
20년 전 조회 2,329
20년 전 조회 1,961
20년 전 조회 1,659
20년 전 조회 1,847
20년 전 조회 3,938
20년 전 조회 1,664
20년 전 조회 2,003
20년 전 조회 2,338
20년 전 조회 1,812
20년 전 조회 2,945
20년 전 조회 1,997
20년 전 조회 2,078
20년 전 조회 3,641
20년 전 조회 2,959
20년 전 조회 2,083
20년 전 조회 1만
20년 전 조회 2,225
20년 전 조회 1,567
20년 전 조회 2,639
20년 전 조회 2,257
20년 전 조회 1,653
20년 전 조회 1,453
20년 전 조회 1,882
20년 전 조회 1,678
20년 전 조회 1,714
20년 전 조회 2,324
20년 전 조회 1,531
20년 전 조회 1,473
20년 전 조회 1,611
20년 전 조회 2,705
20년 전 조회 1,783
20년 전 조회 1,838
20년 전 조회 1,964
20년 전 조회 1,787
20년 전 조회 1,858
20년 전 조회 1,679
20년 전 조회 2,049
20년 전 조회 1,768
20년 전 조회 2,541
20년 전 조회 2,252
20년 전 조회 2,536
20년 전 조회 1,464
20년 전 조회 1,563
20년 전 조회 2,138
20년 전 조회 1,596
20년 전 조회 3,734
20년 전 조회 2,622
20년 전 조회 2,055
🐛 버그신고