wodrow/MyYii2AdvancedWork/master/_frontend/web/.htaccess - Htaccess File

wodrow/MyYii2AdvancedWork/master/_frontend/web/.htaccess

<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
order deny,allow
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?test.mint.test(/)?.*$     [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp|png)$ test.mini.test/test.php [R,NC,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER

Comments

Apache