Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-11-03, 08:28 PM   #1
MrHackula
If something goes wrong at the plant, blame the guy who can't speak English
 
MrHackula's Avatar
 
Join Date: Sep 2003
Location: Montana
Posts: 32
Howdy KCat,

By saying who can NOT go some place you don't effect anyone but the people you specifically say. In the above example blank referrers go right on through. If you are doing the standard "Allow people from my domain and my IP, deny all others thing" you can add this line:

RewriteCond %{HTTP_REFERER} !^$

... this SHOULD allow people without any referer to pass.

I do NOT recommend this, as scripts and search engines will waltz right in if this is the only protection you are using.

Hope this is helpful,

Mr. H.


Quote:
Originally posted by KCat
Question about the anti-hotlinking...if the surfer has firewall software running that won't pass the referer, will he be pushed to your rewriterule page?

I use the referer info for a shared members content area & have had problems with this. Since they're already members, it's easy enough to send them to a page with instructions for changing their security settings. But for submitting TGP galleries, that's another story.

Thanks!
__________________
Integrity = Longevity
MrHackula is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:29 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc