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,931
bbbking
20년 전 조회 5,736
20년 전 조회 4,144
20년 전 조회 2,401
20년 전 조회 3,195
20년 전 조회 1,927
20년 전 조회 1,587
20년 전 조회 3,156
20년 전 조회 3,560
20년 전 조회 5,118
20년 전 조회 5,811
20년 전 조회 3,681
20년 전 조회 5,030
20년 전 조회 3,310
20년 전 조회 3,636
bbbking
20년 전 조회 7,950
bbbking
20년 전 조회 5,919
20년 전 조회 4,487
20년 전 조회 4,037
20년 전 조회 2,783
20년 전 조회 2,706
20년 전 조회 2,361
20년 전 조회 1,648
20년 전 조회 2,274
20년 전 조회 3,674
20년 전 조회 4,135
20년 전 조회 1만
20년 전 조회 5,054
20년 전 조회 3,378
20년 전 조회 3,194
20년 전 조회 3,837
20년 전 조회 2,086
20년 전 조회 3,165
20년 전 조회 3,354
20년 전 조회 2,414
20년 전 조회 5,490
20년 전 조회 2,545
20년 전 조회 2,979
20년 전 조회 4,228
20년 전 조회 2,626
20년 전 조회 2,308
20년 전 조회 3,702
20년 전 조회 2,097
20년 전 조회 3,587
20년 전 조회 2,494
20년 전 조회 2,931
20년 전 조회 2,233
20년 전 조회 3,351
20년 전 조회 2,941
20년 전 조회 3,071
20년 전 조회 2,155
20년 전 조회 1,873
20년 전 조회 2,361
20년 전 조회 1,997
20년 전 조회 1,685
20년 전 조회 1,873
20년 전 조회 3,971
20년 전 조회 1,696
20년 전 조회 2,027
20년 전 조회 2,368
20년 전 조회 1,842
20년 전 조회 2,981
20년 전 조회 2,034
20년 전 조회 2,108
20년 전 조회 3,670
20년 전 조회 2,990
20년 전 조회 2,117
20년 전 조회 1만
20년 전 조회 2,249
20년 전 조회 1,602
20년 전 조회 2,675
20년 전 조회 2,285
20년 전 조회 1,683
20년 전 조회 1,487
20년 전 조회 1,911
20년 전 조회 1,712
20년 전 조회 1,749
20년 전 조회 2,348
20년 전 조회 1,557
20년 전 조회 1,503
20년 전 조회 1,646
20년 전 조회 2,730
20년 전 조회 1,806
20년 전 조회 1,872
20년 전 조회 1,991
20년 전 조회 1,812
20년 전 조회 1,891
20년 전 조회 1,712
20년 전 조회 2,075
20년 전 조회 1,804
20년 전 조회 2,571
20년 전 조회 2,275
20년 전 조회 2,563
20년 전 조회 1,494
20년 전 조회 1,598
20년 전 조회 2,162
20년 전 조회 1,632
20년 전 조회 3,762
20년 전 조회 2,657
20년 전 조회 2,086