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,971
bbbking
20년 전 조회 5,772
20년 전 조회 4,178
20년 전 조회 2,432
20년 전 조회 3,230
20년 전 조회 1,959
20년 전 조회 1,612
20년 전 조회 3,191
20년 전 조회 3,598
20년 전 조회 5,151
20년 전 조회 5,837
20년 전 조회 3,719
20년 전 조회 5,069
20년 전 조회 3,346
20년 전 조회 3,669
bbbking
20년 전 조회 7,981
bbbking
20년 전 조회 5,945
20년 전 조회 4,519
20년 전 조회 4,074
20년 전 조회 2,811
20년 전 조회 2,752
20년 전 조회 2,394
20년 전 조회 1,682
20년 전 조회 2,300
20년 전 조회 3,716
20년 전 조회 4,174
20년 전 조회 1만
20년 전 조회 5,089
20년 전 조회 3,412
20년 전 조회 3,229
20년 전 조회 3,871
20년 전 조회 2,113
20년 전 조회 3,205
20년 전 조회 3,390
20년 전 조회 2,447
20년 전 조회 5,525
20년 전 조회 2,572
20년 전 조회 3,015
20년 전 조회 4,252
20년 전 조회 2,667
20년 전 조회 2,349
20년 전 조회 3,730
20년 전 조회 2,133
20년 전 조회 3,616
20년 전 조회 2,531
20년 전 조회 2,969
20년 전 조회 2,262
20년 전 조회 3,389
20년 전 조회 2,978
20년 전 조회 3,107
20년 전 조회 2,195
20년 전 조회 1,905
20년 전 조회 2,396
20년 전 조회 2,030
20년 전 조회 1,714
20년 전 조회 1,903
20년 전 조회 4,007
20년 전 조회 1,735
20년 전 조회 2,061
20년 전 조회 2,394
20년 전 조회 1,873
20년 전 조회 3,016
20년 전 조회 2,066
20년 전 조회 2,139
20년 전 조회 3,707
20년 전 조회 3,016
20년 전 조회 2,151
20년 전 조회 1만
20년 전 조회 2,280
20년 전 조회 1,631
20년 전 조회 2,700
20년 전 조회 2,314
20년 전 조회 1,716
20년 전 조회 1,516
20년 전 조회 1,945
20년 전 조회 1,739
20년 전 조회 1,774
20년 전 조회 2,379
20년 전 조회 1,588
20년 전 조회 1,533
20년 전 조회 1,673
20년 전 조회 2,758
20년 전 조회 1,827
20년 전 조회 1,893
20년 전 조회 2,016
20년 전 조회 1,840
20년 전 조회 1,921
20년 전 조회 1,741
20년 전 조회 2,106
20년 전 조회 1,836
20년 전 조회 2,607
20년 전 조회 2,299
20년 전 조회 2,591
20년 전 조회 1,523
20년 전 조회 1,623
20년 전 조회 2,186
20년 전 조회 1,661
20년 전 조회 3,798
20년 전 조회 2,682
20년 전 조회 2,110