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,937
bbbking
20년 전 조회 5,745
20년 전 조회 4,151
20년 전 조회 2,406
20년 전 조회 3,201
20년 전 조회 1,932
20년 전 조회 1,594
20년 전 조회 3,166
20년 전 조회 3,566
20년 전 조회 5,123
20년 전 조회 5,816
20년 전 조회 3,692
20년 전 조회 5,036
20년 전 조회 3,312
20년 전 조회 3,639
bbbking
20년 전 조회 7,954
bbbking
20년 전 조회 5,923
20년 전 조회 4,493
20년 전 조회 4,045
20년 전 조회 2,789
20년 전 조회 2,716
20년 전 조회 2,366
20년 전 조회 1,653
20년 전 조회 2,281
20년 전 조회 3,683
20년 전 조회 4,143
20년 전 조회 1만
20년 전 조회 5,061
20년 전 조회 3,389
20년 전 조회 3,208
20년 전 조회 3,842
20년 전 조회 2,093
20년 전 조회 3,174
20년 전 조회 3,360
20년 전 조회 2,418
20년 전 조회 5,498
20년 전 조회 2,550
20년 전 조회 2,985
20년 전 조회 4,230
20년 전 조회 2,632
20년 전 조회 2,315
20년 전 조회 3,707
20년 전 조회 2,107
20년 전 조회 3,593
20년 전 조회 2,505
20년 전 조회 2,940
20년 전 조회 2,239
20년 전 조회 3,360
20년 전 조회 2,949
20년 전 조회 3,077
20년 전 조회 2,160
20년 전 조회 1,881
20년 전 조회 2,368
20년 전 조회 2,002
20년 전 조회 1,691
20년 전 조회 1,882
20년 전 조회 3,979
20년 전 조회 1,703
20년 전 조회 2,033
20년 전 조회 2,372
20년 전 조회 1,848
20년 전 조회 2,985
20년 전 조회 2,038
20년 전 조회 2,113
20년 전 조회 3,673
20년 전 조회 2,995
20년 전 조회 2,122
20년 전 조회 1만
20년 전 조회 2,253
20년 전 조회 1,609
20년 전 조회 2,678
20년 전 조회 2,289
20년 전 조회 1,689
20년 전 조회 1,489
20년 전 조회 1,917
20년 전 조회 1,720
20년 전 조회 1,756
20년 전 조회 2,353
20년 전 조회 1,563
20년 전 조회 1,506
20년 전 조회 1,648
20년 전 조회 2,732
20년 전 조회 1,811
20년 전 조회 1,875
20년 전 조회 1,999
20년 전 조회 1,818
20년 전 조회 1,895
20년 전 조회 1,717
20년 전 조회 2,081
20년 전 조회 1,806
20년 전 조회 2,579
20년 전 조회 2,281
20년 전 조회 2,569
20년 전 조회 1,498
20년 전 조회 1,604
20년 전 조회 2,167
20년 전 조회 1,637
20년 전 조회 3,765
20년 전 조회 2,659
20년 전 조회 2,089