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,908
bbbking
20년 전 조회 5,699
20년 전 조회 4,123
20년 전 조회 2,369
20년 전 조회 3,169
20년 전 조회 1,889
20년 전 조회 1,554
20년 전 조회 3,123
20년 전 조회 3,529
20년 전 조회 5,082
20년 전 조회 5,788
20년 전 조회 3,657
20년 전 조회 4,995
20년 전 조회 3,272
20년 전 조회 3,612
bbbking
20년 전 조회 7,919
bbbking
20년 전 조회 5,887
20년 전 조회 4,461
20년 전 조회 4,013
20년 전 조회 2,744
20년 전 조회 2,693
20년 전 조회 2,323
20년 전 조회 1,613
20년 전 조회 2,234
20년 전 조회 3,655
20년 전 조회 4,109
20년 전 조회 1만
20년 전 조회 5,029
20년 전 조회 3,350
20년 전 조회 3,167
20년 전 조회 3,810
20년 전 조회 2,045
20년 전 조회 3,140
20년 전 조회 3,328
20년 전 조회 2,390
20년 전 조회 5,463
20년 전 조회 2,515
20년 전 조회 2,955
20년 전 조회 4,201
20년 전 조회 2,604
20년 전 조회 2,284
20년 전 조회 3,670
20년 전 조회 2,070
20년 전 조회 3,558
20년 전 조회 2,475
20년 전 조회 2,900
20년 전 조회 2,206
20년 전 조회 3,326
20년 전 조회 2,915
20년 전 조회 3,040
20년 전 조회 2,138
20년 전 조회 1,850
20년 전 조회 2,334
20년 전 조회 1,966
20년 전 조회 1,663
20년 전 조회 1,851
20년 전 조회 3,942
20년 전 조회 1,669
20년 전 조회 2,008
20년 전 조회 2,342
20년 전 조회 1,816
20년 전 조회 2,950
20년 전 조회 2,001
20년 전 조회 2,084
20년 전 조회 3,647
20년 전 조회 2,964
20년 전 조회 2,087
20년 전 조회 1만
20년 전 조회 2,229
20년 전 조회 1,572
20년 전 조회 2,645
20년 전 조회 2,262
20년 전 조회 1,658
20년 전 조회 1,459
20년 전 조회 1,887
20년 전 조회 1,683
20년 전 조회 1,720
20년 전 조회 2,330
20년 전 조회 1,535
20년 전 조회 1,477
20년 전 조회 1,618
20년 전 조회 2,709
20년 전 조회 1,786
20년 전 조회 1,843
20년 전 조회 1,968
20년 전 조회 1,791
20년 전 조회 1,863
20년 전 조회 1,684
20년 전 조회 2,055
20년 전 조회 1,773
20년 전 조회 2,547
20년 전 조회 2,257
20년 전 조회 2,540
20년 전 조회 1,469
20년 전 조회 1,568
20년 전 조회 2,144
20년 전 조회 1,603
20년 전 조회 3,738
20년 전 조회 2,626
20년 전 조회 2,060
🐛 버그신고