아래의 설정이 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 330 |
prosper
|
20년 전 | 2254 | |
| 329 |
prosper
|
20년 전 | 1869 | |
| 328 |
prosper
|
20년 전 | 1679 | |
| 327 | 20년 전 | 3751 | ||
| 326 | 20년 전 | 4837 | ||
| 325 |
hwatta
|
20년 전 | 2462 | |
| 324 |
|
20년 전 | 3131 | |
| 323 | 20년 전 | 5843 | ||
| 322 |
hwatta
|
20년 전 | 2829 | |
| 321 |
hwatta
|
20년 전 | 2305 | |
| 320 |
yesmoa
|
20년 전 | 4561 | |
| 319 | 20년 전 | 2669 | ||
| 318 | 20년 전 | 2230 | ||
| 317 |
kyodon
|
20년 전 | 2755 | |
| 316 | 20년 전 | 2566 | ||
| 315 |
|
20년 전 | 2874 | |
| 314 |
|
20년 전 | 3324 | |
| 313 |
|
20년 전 | 2632 | |
| 312 |
yesmoa
|
20년 전 | 4704 | |
| 311 | 20년 전 | 3257 | ||
| 310 |
홀로남은자
|
20년 전 | 4549 | |
| 309 | 20년 전 | 3002 | ||
| 308 | 20년 전 | 4116 | ||
| 307 | 20년 전 | 4351 | ||
| 306 | 20년 전 | 7024 | ||
| 305 | 20년 전 | 3862 | ||
| 304 | 20년 전 | 2756 | ||
| 303 |
크리스탈처럼
|
20년 전 | 4384 | |
| 302 | 20년 전 | 2197 | ||
| 301 |
|
20년 전 | 4314 | |
| 300 | 20년 전 | 3787 | ||
| 299 | 20년 전 | 2592 | ||
| 298 | 20년 전 | 4815 | ||
| 297 |
|
20년 전 | 2519 | |
| 296 | 20년 전 | 4514 | ||
| 295 | 20년 전 | 3560 | ||
| 294 | 20년 전 | 3584 | ||
| 293 | 20년 전 | 3809 | ||
| 292 | 20년 전 | 3198 | ||
| 291 |
yesmoa
|
20년 전 | 5927 | |
| 290 | 20년 전 | 2931 | ||
| 289 | 20년 전 | 5838 | ||
| 288 |
|
20년 전 | 2367 | |
| 287 |
|
20년 전 | 1782 | |
| 286 |
|
20년 전 | 2139 | |
| 285 |
|
20년 전 | 3529 | |
| 284 |
|
20년 전 | 2028 | |
| 283 |
|
20년 전 | 4397 | |
| 282 | 20년 전 | 3380 | ||
| 281 |
|
20년 전 | 2201 | |
| 280 |
|
20년 전 | 7794 | |
| 279 | 20년 전 | 5540 | ||
| 278 | 20년 전 | 2983 | ||
| 277 |
|
20년 전 | 5565 | |
| 276 | 20년 전 | 2351 | ||
| 275 | 20년 전 | 2596 | ||
| 274 | 20년 전 | 2372 | ||
| 273 | 20년 전 | 2208 | ||
| 272 | 20년 전 | 2140 | ||
| 271 | 20년 전 | 2597 | ||
| 270 | 20년 전 | 2612 | ||
| 269 | 20년 전 | 2474 | ||
| 268 | 20년 전 | 2673 | ||
| 267 | 20년 전 | 2355 | ||
| 266 | 20년 전 | 2558 | ||
| 265 | 20년 전 | 3496 | ||
| 264 |
|
20년 전 | 5353 | |
| 263 |
|
20년 전 | 3720 | |
| 262 | 20년 전 | 3169 | ||
| 261 |
허저비
|
20년 전 | 5917 | |
| 260 |
|
20년 전 | 5709 | |
| 259 | 20년 전 | 4132 | ||
| 258 | 20년 전 | 2374 | ||
| 257 | 20년 전 | 3180 | ||
| 256 | 20년 전 | 1895 | ||
| 255 | 20년 전 | 1560 | ||
| 254 | 20년 전 | 3136 | ||
| 253 | 20년 전 | 3542 | ||
| 252 | 20년 전 | 5114 | ||
| 251 | 20년 전 | 5800 | ||
| 250 | 20년 전 | 3670 | ||
| 249 | 20년 전 | 5010 | ||
| 248 | 20년 전 | 3276 | ||
| 247 | 20년 전 | 3630 | ||
| 246 |
|
20년 전 | 7943 | |
| 245 |
|
20년 전 | 5896 | |
| 244 | 20년 전 | 4479 | ||
| 243 |
|
20년 전 | 4045 | |
| 242 | 20년 전 | 2776 | ||
| 241 | 20년 전 | 2716 | ||
| 240 | 20년 전 | 2355 | ||
| 239 | 20년 전 | 1649 | ||
| 238 |
아우겐나이스
|
20년 전 | 2257 | |
| 237 |
email
|
20년 전 | 3682 | |
| 236 | 20년 전 | 4145 | ||
| 235 | 20년 전 | 10458 | ||
| 234 | 20년 전 | 5060 | ||
| 233 | 20년 전 | 3362 | ||
| 232 | 20년 전 | 3195 | ||
| 231 | 20년 전 | 3832 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기