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,984
bbbking
20년 전 조회 5,781
20년 전 조회 4,190
20년 전 조회 2,442
20년 전 조회 3,243
20년 전 조회 1,971
20년 전 조회 1,628
20년 전 조회 3,206
20년 전 조회 3,609
20년 전 조회 5,168
20년 전 조회 5,850
20년 전 조회 3,730
20년 전 조회 5,082
20년 전 조회 3,359
20년 전 조회 3,683
bbbking
20년 전 조회 7,998
bbbking
20년 전 조회 5,963
20년 전 조회 4,528
20년 전 조회 4,083
20년 전 조회 2,822
20년 전 조회 2,767
20년 전 조회 2,406
20년 전 조회 1,699
20년 전 조회 2,319
20년 전 조회 3,730
20년 전 조회 4,183
20년 전 조회 1.1만
20년 전 조회 5,100
20년 전 조회 3,425
20년 전 조회 3,241
20년 전 조회 3,882
20년 전 조회 2,127
20년 전 조회 3,214
20년 전 조회 3,403
20년 전 조회 2,463
20년 전 조회 5,536
20년 전 조회 2,589
20년 전 조회 3,028
20년 전 조회 4,267
20년 전 조회 2,681
20년 전 조회 2,359
20년 전 조회 3,742
20년 전 조회 2,145
20년 전 조회 3,623
20년 전 조회 2,545
20년 전 조회 2,983
20년 전 조회 2,276
20년 전 조회 3,399
20년 전 조회 2,988
20년 전 조회 3,121
20년 전 조회 2,205
20년 전 조회 1,914
20년 전 조회 2,410
20년 전 조회 2,044
20년 전 조회 1,730
20년 전 조회 1,914
20년 전 조회 4,019
20년 전 조회 1,746
20년 전 조회 2,078
20년 전 조회 2,404
20년 전 조회 1,886
20년 전 조회 3,026
20년 전 조회 2,073
20년 전 조회 2,154
20년 전 조회 3,721
20년 전 조회 3,031
20년 전 조회 2,157
20년 전 조회 1만
20년 전 조회 2,295
20년 전 조회 1,656
20년 전 조회 2,712
20년 전 조회 2,325
20년 전 조회 1,722
20년 전 조회 1,524
20년 전 조회 1,956
20년 전 조회 1,750
20년 전 조회 1,783
20년 전 조회 2,394
20년 전 조회 1,597
20년 전 조회 1,545
20년 전 조회 1,682
20년 전 조회 2,765
20년 전 조회 1,832
20년 전 조회 1,899
20년 전 조회 2,029
20년 전 조회 1,847
20년 전 조회 1,934
20년 전 조회 1,753
20년 전 조회 2,121
20년 전 조회 1,849
20년 전 조회 2,618
20년 전 조회 2,310
20년 전 조회 2,598
20년 전 조회 1,535
20년 전 조회 1,638
20년 전 조회 2,200
20년 전 조회 1,672
20년 전 조회 3,814
20년 전 조회 2,693
20년 전 조회 2,129