아래의 설정이 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>
<--- 가상호스트
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>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5127 |
senseme
|
12년 전 | 1261 | |
| 5126 |
senseme
|
12년 전 | 1782 | |
| 5125 |
kiplayer
|
12년 전 | 14712 | |
| 5124 | 12년 전 | 1068 | ||
| 5123 | 12년 전 | 2711 | ||
| 5122 |
senseme
|
12년 전 | 8941 | |
| 5121 | 12년 전 | 1284 | ||
| 5120 |
프로프리랜서
|
12년 전 | 1175 | |
| 5119 |
프로프리랜서
|
12년 전 | 1644 | |
| 5118 |
프로프리랜서
|
12년 전 | 1147 | |
| 5117 |
프로프리랜서
|
12년 전 | 1283 | |
| 5116 |
프로프리랜서
|
12년 전 | 3537 | |
| 5115 |
프로프리랜서
|
12년 전 | 1468 | |
| 5114 |
프로프리랜서
|
12년 전 | 2125 | |
| 5113 |
senseme
|
12년 전 | 1306 | |
| 5112 |
senseme
|
12년 전 | 3025 | |
| 5111 | 12년 전 | 1338 | ||
| 5110 | 12년 전 | 1595 | ||
| 5109 | 12년 전 | 2020 | ||
| 5108 |
senseme
|
12년 전 | 1045 | |
| 5107 |
senseme
|
12년 전 | 1079 | |
| 5106 | 12년 전 | 4420 | ||
| 5105 |
senseme
|
12년 전 | 1484 | |
| 5104 |
senseme
|
12년 전 | 1623 | |
| 5103 | 12년 전 | 5478 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기