การเขียน .htaccess File เพื่อป้องกัน Folder images ,css ,js
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://siamweb2u.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.siamweb2u.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://siamweb2u.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.siamweb2u.com:80.*$ [NC]
RewriteRule .*.(jpepg|gif|bmp|png|js|css|)$ http://www.siamweb2u.com/hotlink.html
|