htaccess block and allow referrer rewriterule parameters





htaccess block and allow referrer


Htaccess redirect

Learn htaccess block and allow referrer rewriterule flags , syntax using the sample example below.

Block unwanted visitor based on referring domain


# block visitors referred from indicated domains
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_REFERER} scumbag.com [NC,OR]
 RewriteCond %{HTTP_REFERER} wormhole.com [NC,OR]
 RewriteRule .* - [F]

</ifModule>


htaccess block and allow referrer syntax

htaccess block and allow referrer code on this is provided for your study purpose, it will guide you to know how to use mod_rewite to create .htaccess files on the apache servers. use it to practice and train your self online

All the tutorials on this site are free, the page code is provifed for you to use it to practice, if you want to help to improve and maintain this work, you can donate to us on.



Htacess tutorial guides withexamples and easy steps to set ip up on your server.


Htaccess Generator

Htaccess block all bad robots

prevent hack

redirect www to non www

modifying the environment variable

file access deny control

cache control no cache and cache public

ip blocking

adding new mime types and set timezone

hot to create file

hide .

gzip page compression

force file save

password protect a directory

hotlink protection

custom error page

stop directory listing

block and allow referrer

set cookie domain authentication

prevent directory listing

php 301 redirect

upload_max_filesize limit

301 redirect

changing home directory page

All the tutorials on this site are provided for free. You can copy and print the tutorials and code on this site, but you are not allowed to reproduce this information on another website. All rights reserverd 2012

Copywright © 2013 www.htaccessredirect301.com Site created By prince Ejike Google+

promo