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,916
bbbking
20년 전 조회 5,712
20년 전 조회 4,131
20년 전 조회 2,378
20년 전 조회 3,176
20년 전 조회 1,900
20년 전 조회 1,563
20년 전 조회 3,131
20년 전 조회 3,537
20년 전 조회 5,090
20년 전 조회 5,794
20년 전 조회 3,662
20년 전 조회 5,005
20년 전 조회 3,282
20년 전 조회 3,620
bbbking
20년 전 조회 7,927
bbbking
20년 전 조회 5,897
20년 전 조회 4,469
20년 전 조회 4,022
20년 전 조회 2,753
20년 전 조회 2,697
20년 전 조회 2,329
20년 전 조회 1,622
20년 전 조회 2,240
20년 전 조회 3,662
20년 전 조회 4,119
20년 전 조회 1만
20년 전 조회 5,036
20년 전 조회 3,357
20년 전 조회 3,176
20년 전 조회 3,816
20년 전 조회 2,058
20년 전 조회 3,147
20년 전 조회 3,337
20년 전 조회 2,400
20년 전 조회 5,473
20년 전 조회 2,523
20년 전 조회 2,962
20년 전 조회 4,212
20년 전 조회 2,609
20년 전 조회 2,293
20년 전 조회 3,680
20년 전 조회 2,078
20년 전 조회 3,561
20년 전 조회 2,483
20년 전 조회 2,910
20년 전 조회 2,212
20년 전 조회 3,336
20년 전 조회 2,924
20년 전 조회 3,049
20년 전 조회 2,144
20년 전 조회 1,857
20년 전 조회 2,344
20년 전 조회 1,976
20년 전 조회 1,672
20년 전 조회 1,859
20년 전 조회 3,949
20년 전 조회 1,677
20년 전 조회 2,016
20년 전 조회 2,354
20년 전 조회 1,828
20년 전 조회 2,959
20년 전 조회 2,010
20년 전 조회 2,094
20년 전 조회 3,655
20년 전 조회 2,971
20년 전 조회 2,099
20년 전 조회 1만
20년 전 조회 2,234
20년 전 조회 1,583
20년 전 조회 2,654
20년 전 조회 2,269
20년 전 조회 1,665
20년 전 조회 1,468
20년 전 조회 1,893
20년 전 조회 1,697
20년 전 조회 1,728
20년 전 조회 2,339
20년 전 조회 1,543
20년 전 조회 1,486
20년 전 조회 1,627
20년 전 조회 2,719
20년 전 조회 1,792
20년 전 조회 1,851
20년 전 조회 1,979
20년 전 조회 1,804
20년 전 조회 1,874
20년 전 조회 1,691
20년 전 조회 2,064
20년 전 조회 1,781
20년 전 조회 2,554
20년 전 조회 2,263
20년 전 조회 2,548
20년 전 조회 1,478
20년 전 조회 1,579
20년 전 조회 2,152
20년 전 조회 1,614
20년 전 조회 3,747
20년 전 조회 2,631
20년 전 조회 2,072