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,945
bbbking
20년 전 조회 5,750
20년 전 조회 4,156
20년 전 조회 2,416
20년 전 조회 3,211
20년 전 조회 1,942
20년 전 조회 1,603
20년 전 조회 3,174
20년 전 조회 3,578
20년 전 조회 5,130
20년 전 조회 5,823
20년 전 조회 3,698
20년 전 조회 5,043
20년 전 조회 3,326
20년 전 조회 3,646
bbbking
20년 전 조회 7,961
bbbking
20년 전 조회 5,929
20년 전 조회 4,502
20년 전 조회 4,050
20년 전 조회 2,795
20년 전 조회 2,730
20년 전 조회 2,376
20년 전 조회 1,665
20년 전 조회 2,287
20년 전 조회 3,691
20년 전 조회 4,153
20년 전 조회 1만
20년 전 조회 5,067
20년 전 조회 3,398
20년 전 조회 3,213
20년 전 조회 3,851
20년 전 조회 2,098
20년 전 조회 3,179
20년 전 조회 3,371
20년 전 조회 2,426
20년 전 조회 5,505
20년 전 조회 2,554
20년 전 조회 2,991
20년 전 조회 4,235
20년 전 조회 2,638
20년 전 조회 2,323
20년 전 조회 3,717
20년 전 조회 2,111
20년 전 조회 3,603
20년 전 조회 2,512
20년 전 조회 2,947
20년 전 조회 2,245
20년 전 조회 3,365
20년 전 조회 2,958
20년 전 조회 3,085
20년 전 조회 2,170
20년 전 조회 1,888
20년 전 조회 2,378
20년 전 조회 2,012
20년 전 조회 1,697
20년 전 조회 1,890
20년 전 조회 3,989
20년 전 조회 1,711
20년 전 조회 2,039
20년 전 조회 2,378
20년 전 조회 1,859
20년 전 조회 2,990
20년 전 조회 2,047
20년 전 조회 2,120
20년 전 조회 3,684
20년 전 조회 3,004
20년 전 조회 2,128
20년 전 조회 1만
20년 전 조회 2,259
20년 전 조회 1,616
20년 전 조회 2,681
20년 전 조회 2,296
20년 전 조회 1,696
20년 전 조회 1,498
20년 전 조회 1,924
20년 전 조회 1,726
20년 전 조회 1,760
20년 전 조회 2,359
20년 전 조회 1,570
20년 전 조회 1,514
20년 전 조회 1,657
20년 전 조회 2,739
20년 전 조회 1,815
20년 전 조회 1,881
20년 전 조회 2,001
20년 전 조회 1,824
20년 전 조회 1,906
20년 전 조회 1,723
20년 전 조회 2,089
20년 전 조회 1,815
20년 전 조회 2,588
20년 전 조회 2,285
20년 전 조회 2,575
20년 전 조회 1,503
20년 전 조회 1,607
20년 전 조회 2,172
20년 전 조회 1,642
20년 전 조회 3,775
20년 전 조회 2,664
20년 전 조회 2,094