Title: htaccess, rewrite and redirect help please
Hi all,

I'm so new to this, please excuse me if i'm off base.

I'm trying to write an htaccess script which will essentially say "If you're from this web page you get rejected, but all other web page requests go here:"

This is what i pieced together:

-------------------------------------------------------------
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.unauthorized_site.com/index.html [NC]
RewriteRule /* http://www.my_site.com/access/go_away.html [R,L]
Redirect   http://www.my_site.com/hello.html
-------------------------------------------------------------

Am i on track?

Thanks,

Paul
--
======================================
http://www.StuckMic.com/america -- The American Code
Remembering the attack on America
http://www.StuckMic.com -- MIVA Powered Aviation
and Air Traffic Control discussion and chat.
http://www.WavSounds.com -- Thousands of
funny wavs, fully searchable.

Reply via email to