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,907
bbbking
20년 전 조회 5,695
20년 전 조회 4,121
20년 전 조회 2,367
20년 전 조회 3,166
20년 전 조회 1,887
20년 전 조회 1,554
20년 전 조회 3,122
20년 전 조회 3,526
20년 전 조회 5,080
20년 전 조회 5,786
20년 전 조회 3,657
20년 전 조회 4,991
20년 전 조회 3,270
20년 전 조회 3,611
bbbking
20년 전 조회 7,916
bbbking
20년 전 조회 5,885
20년 전 조회 4,460
20년 전 조회 4,010
20년 전 조회 2,743
20년 전 조회 2,688
20년 전 조회 2,320
20년 전 조회 1,611
20년 전 조회 2,230
20년 전 조회 3,649
20년 전 조회 4,108
20년 전 조회 1만
20년 전 조회 5,028
20년 전 조회 3,346
20년 전 조회 3,164
20년 전 조회 3,808
20년 전 조회 2,042
20년 전 조회 3,138
20년 전 조회 3,327
20년 전 조회 2,386
20년 전 조회 5,462
20년 전 조회 2,512
20년 전 조회 2,953
20년 전 조회 4,201
20년 전 조회 2,603
20년 전 조회 2,281
20년 전 조회 3,669
20년 전 조회 2,069
20년 전 조회 3,554
20년 전 조회 2,472
20년 전 조회 2,898
20년 전 조회 2,204
20년 전 조회 3,325
20년 전 조회 2,912
20년 전 조회 3,038
20년 전 조회 2,137
20년 전 조회 1,847
20년 전 조회 2,333
20년 전 조회 1,963
20년 전 조회 1,662
20년 전 조회 1,850
20년 전 조회 3,942
20년 전 조회 1,667
20년 전 조회 2,004
20년 전 조회 2,341
20년 전 조회 1,813
20년 전 조회 2,949
20년 전 조회 2,001
20년 전 조회 2,080
20년 전 조회 3,645
20년 전 조회 2,962
20년 전 조회 2,086
20년 전 조회 1만
20년 전 조회 2,228
20년 전 조회 1,570
20년 전 조회 2,642
20년 전 조회 2,259
20년 전 조회 1,656
20년 전 조회 1,457
20년 전 조회 1,886
20년 전 조회 1,680
20년 전 조회 1,717
20년 전 조회 2,326
20년 전 조회 1,534
20년 전 조회 1,476
20년 전 조회 1,616
20년 전 조회 2,708
20년 전 조회 1,785
20년 전 조회 1,842
20년 전 조회 1,966
20년 전 조회 1,791
20년 전 조회 1,862
20년 전 조회 1,682
20년 전 조회 2,054
20년 전 조회 1,772
20년 전 조회 2,544
20년 전 조회 2,256
20년 전 조회 2,540
20년 전 조회 1,467
20년 전 조회 1,566
20년 전 조회 2,142
20년 전 조회 1,601
20년 전 조회 3,737
20년 전 조회 2,625
20년 전 조회 2,060
🐛 버그신고