kostynru/wbr/work/.htaccess - Htaccess File

kostynru/wbr/work/.htaccess

´╗┐AddDefaultCharset utf-8

#

RewriteEngine   on
RewriteBase     /wbr/
RewriteRule ^show/([a-zA-Z0-9]+)/?$ profile.php?show=$1 [QSA,L]
#RewriteRule ^([a-zA-Z0-9]+).localhost/?$ profile.php?show=$1 [QSA,L]
RewriteRule ^dialog/([a-zA-Z0-9]+)/?$ im.php?show=$1 [QSA,L]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?localhost/.*$ [NC]
RewriteRule .+.(gif|jpg|png|css|js)$ - [F]

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER

Comments

Apache