2009년 12월 30일 수요일

.htaccess RewriteRule 불펌 방지

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?도메인.com [NC]
RewriteRule \.(php|jpg|jpeg|png|gif)$ - [NC,F,L]

댓글 없음:

댓글 쓰기