Forum Moderators: phranque
to access some home pages in my server
another will be along to provide the perils of rewriting to index.php
Options All -Indexes
RewriteEngine on
RewriteCond %{REMOTE_HOST} !^www\.atcbsb\.com\.br$ [OR]
RewriteCond %{REMOTE_HOST} !^www\.atcbsb\.com$ [OR]
RewriteCond %{REMOTE_HOST} !^www\.virtualradar\.com\.br$
RewriteRule ^flashplayer\.html$ - [F]
Options All -Indexes
RewriteEngine on
RewriteCond %{REMOTE_HOST} !^www\.atcbsb\.com\.br$
RewriteCond %{REMOTE_HOST} !^www\.atcbsb\.com$
RewriteCond %{REMOTE_HOST} !^www\.virtualradar\.com\.br$
RewriteRule ^flashplayer\.html$ - [F]
It still gives 403
As written, that's what it is supposed to do. If you are anyone other than the OP, requests will be blocked. If you want to block by referer you have to change {REMOTE_HOST} to {HTTP_REFERER}.
but I know about the HTTP_REFERER
Allow visitors seeing the page when accessing from my main site