View Single Post
Old June 1st, 2010, 05:37 PM   #5 (permalink)
cindey
Registered User
 
Join Date: May 2003
Posts: 6
well. to protect entire site really

I have the standard splash pages, then a signup page for age verification. This service then allows ID/Members into the site via their sign in page. Not your standard htpasswrd/htaccess system. I do not host the passwords etc.
So anyone who wants to bookmark the page once inside can simply go to it unfettered.
from the splash pages, the links take them in/forward to the members page. I have the directory where the script is and want only those who originate from the passed directory url to get pages.
As it is now, typing the url into the address bar takes one directly to the directory. I do not want members to have to sign up with the photopost script etc.
So is there a way.
This is what is provided by the age verification system I use, added to your htaccess page

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://*yourdomainname.com [NC]
RewriteCond %{HTTP_REFERER} !^http://*verificationservice.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://*verificationservice.com/ [NC]
RewriteRule /* http://www.placetosendbadreferers.com [R,L]

Thanks again, and sorry if being a pest
cindey is offline   Reply With Quote