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,915
bbbking
20년 전 조회 5,708
20년 전 조회 4,128
20년 전 조회 2,375
20년 전 조회 3,172
20년 전 조회 1,899
20년 전 조회 1,560
20년 전 조회 3,130
20년 전 조회 3,537
20년 전 조회 5,088
20년 전 조회 5,793
20년 전 조회 3,660
20년 전 조회 5,001
20년 전 조회 3,280
20년 전 조회 3,618
bbbking
20년 전 조회 7,926
bbbking
20년 전 조회 5,894
20년 전 조회 4,469
20년 전 조회 4,020
20년 전 조회 2,751
20년 전 조회 2,696
20년 전 조회 2,327
20년 전 조회 1,619
20년 전 조회 2,240
20년 전 조회 3,661
20년 전 조회 4,112
20년 전 조회 1만
20년 전 조회 5,035
20년 전 조회 3,356
20년 전 조회 3,173
20년 전 조회 3,814
20년 전 조회 2,054
20년 전 조회 3,145
20년 전 조회 3,334
20년 전 조회 2,398
20년 전 조회 5,471
20년 전 조회 2,521
20년 전 조회 2,960
20년 전 조회 4,210
20년 전 조회 2,608
20년 전 조회 2,291
20년 전 조회 3,680
20년 전 조회 2,077
20년 전 조회 3,560
20년 전 조회 2,480
20년 전 조회 2,909
20년 전 조회 2,209
20년 전 조회 3,333
20년 전 조회 2,922
20년 전 조회 3,046
20년 전 조회 2,141
20년 전 조회 1,853
20년 전 조회 2,341
20년 전 조회 1,973
20년 전 조회 1,670
20년 전 조회 1,859
20년 전 조회 3,948
20년 전 조회 1,674
20년 전 조회 2,014
20년 전 조회 2,353
20년 전 조회 1,826
20년 전 조회 2,956
20년 전 조회 2,008
20년 전 조회 2,091
20년 전 조회 3,654
20년 전 조회 2,968
20년 전 조회 2,095
20년 전 조회 1만
20년 전 조회 2,234
20년 전 조회 1,581
20년 전 조회 2,650
20년 전 조회 2,268
20년 전 조회 1,662
20년 전 조회 1,466
20년 전 조회 1,893
20년 전 조회 1,694
20년 전 조회 1,724
20년 전 조회 2,337
20년 전 조회 1,540
20년 전 조회 1,482
20년 전 조회 1,624
20년 전 조회 2,716
20년 전 조회 1,790
20년 전 조회 1,845
20년 전 조회 1,977
20년 전 조회 1,800
20년 전 조회 1,872
20년 전 조회 1,690
20년 전 조회 2,063
20년 전 조회 1,779
20년 전 조회 2,552
20년 전 조회 2,261
20년 전 조회 2,546
20년 전 조회 1,477
20년 전 조회 1,576
20년 전 조회 2,150
20년 전 조회 1,612
20년 전 조회 3,744
20년 전 조회 2,631
20년 전 조회 2,071