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,928
bbbking
20년 전 조회 5,734
20년 전 조회 4,140
20년 전 조회 2,394
20년 전 조회 3,191
20년 전 조회 1,923
20년 전 조회 1,583
20년 전 조회 3,154
20년 전 조회 3,558
20년 전 조회 5,113
20년 전 조회 5,805
20년 전 조회 3,679
20년 전 조회 5,024
20년 전 조회 3,306
20년 전 조회 3,633
bbbking
20년 전 조회 7,946
bbbking
20년 전 조회 5,917
20년 전 조회 4,482
20년 전 조회 4,033
20년 전 조회 2,777
20년 전 조회 2,705
20년 전 조회 2,355
20년 전 조회 1,645
20년 전 조회 2,270
20년 전 조회 3,672
20년 전 조회 4,133
20년 전 조회 1만
20년 전 조회 5,051
20년 전 조회 3,376
20년 전 조회 3,189
20년 전 조회 3,834
20년 전 조회 2,081
20년 전 조회 3,163
20년 전 조회 3,348
20년 전 조회 2,413
20년 전 조회 5,489
20년 전 조회 2,542
20년 전 조회 2,979
20년 전 조회 4,222
20년 전 조회 2,624
20년 전 조회 2,304
20년 전 조회 3,698
20년 전 조회 2,095
20년 전 조회 3,583
20년 전 조회 2,491
20년 전 조회 2,925
20년 전 조회 2,230
20년 전 조회 3,348
20년 전 조회 2,937
20년 전 조회 3,068
20년 전 조회 2,152
20년 전 조회 1,872
20년 전 조회 2,358
20년 전 조회 1,991
20년 전 조회 1,684
20년 전 조회 1,872
20년 전 조회 3,969
20년 전 조회 1,695
20년 전 조회 2,026
20년 전 조회 2,368
20년 전 조회 1,836
20년 전 조회 2,978
20년 전 조회 2,031
20년 전 조회 2,103
20년 전 조회 3,667
20년 전 조회 2,987
20년 전 조회 2,115
20년 전 조회 1만
20년 전 조회 2,247
20년 전 조회 1,597
20년 전 조회 2,674
20년 전 조회 2,279
20년 전 조회 1,676
20년 전 조회 1,484
20년 전 조회 1,910
20년 전 조회 1,708
20년 전 조회 1,745
20년 전 조회 2,348
20년 전 조회 1,553
20년 전 조회 1,499
20년 전 조회 1,644
20년 전 조회 2,730
20년 전 조회 1,803
20년 전 조회 1,868
20년 전 조회 1,989
20년 전 조회 1,810
20년 전 조회 1,887
20년 전 조회 1,708
20년 전 조회 2,071
20년 전 조회 1,800
20년 전 조회 2,568
20년 전 조회 2,272
20년 전 조회 2,560
20년 전 조회 1,490
20년 전 조회 1,592
20년 전 조회 2,162
20년 전 조회 1,628
20년 전 조회 3,756
20년 전 조회 2,650
20년 전 조회 2,082