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,977
bbbking
20년 전 조회 5,773
20년 전 조회 4,182
20년 전 조회 2,435
20년 전 조회 3,238
20년 전 조회 1,966
20년 전 조회 1,619
20년 전 조회 3,198
20년 전 조회 3,606
20년 전 조회 5,158
20년 전 조회 5,842
20년 전 조회 3,725
20년 전 조회 5,075
20년 전 조회 3,350
20년 전 조회 3,671
bbbking
20년 전 조회 7,990
bbbking
20년 전 조회 5,953
20년 전 조회 4,523
20년 전 조회 4,076
20년 전 조회 2,813
20년 전 조회 2,759
20년 전 조회 2,402
20년 전 조회 1,689
20년 전 조회 2,310
20년 전 조회 3,718
20년 전 조회 4,182
20년 전 조회 1.1만
20년 전 조회 5,093
20년 전 조회 3,413
20년 전 조회 3,233
20년 전 조회 3,877
20년 전 조회 2,119
20년 전 조회 3,208
20년 전 조회 3,393
20년 전 조회 2,454
20년 전 조회 5,529
20년 전 조회 2,580
20년 전 조회 3,021
20년 전 조회 4,255
20년 전 조회 2,674
20년 전 조회 2,351
20년 전 조회 3,737
20년 전 조회 2,138
20년 전 조회 3,619
20년 전 조회 2,539
20년 전 조회 2,975
20년 전 조회 2,270
20년 전 조회 3,396
20년 전 조회 2,983
20년 전 조회 3,114
20년 전 조회 2,198
20년 전 조회 1,911
20년 전 조회 2,401
20년 전 조회 2,036
20년 전 조회 1,719
20년 전 조회 1,907
20년 전 조회 4,012
20년 전 조회 1,741
20년 전 조회 2,069
20년 전 조회 2,399
20년 전 조회 1,878
20년 전 조회 3,021
20년 전 조회 2,071
20년 전 조회 2,151
20년 전 조회 3,713
20년 전 조회 3,023
20년 전 조회 2,153
20년 전 조회 1만
20년 전 조회 2,285
20년 전 조회 1,640
20년 전 조회 2,706
20년 전 조회 2,321
20년 전 조회 1,717
20년 전 조회 1,520
20년 전 조회 1,950
20년 전 조회 1,745
20년 전 조회 1,778
20년 전 조회 2,386
20년 전 조회 1,592
20년 전 조회 1,537
20년 전 조회 1,676
20년 전 조회 2,762
20년 전 조회 1,828
20년 전 조회 1,897
20년 전 조회 2,020
20년 전 조회 1,844
20년 전 조회 1,927
20년 전 조회 1,744
20년 전 조회 2,110
20년 전 조회 1,840
20년 전 조회 2,610
20년 전 조회 2,302
20년 전 조회 2,597
20년 전 조회 1,527
20년 전 조회 1,630
20년 전 조회 2,195
20년 전 조회 1,665
20년 전 조회 3,806
20년 전 조회 2,687
20년 전 조회 2,115