using htaccess i am Authenticating the user after that i am sending the user to second domain. that i am doing with redirect.now the problem is that i want to restrict all the other domains and allow only the people comming from the first domain to be able to brows. i am getting access denied if i try that and the request seems to go from my machine insted from the first domain. what can be the best solution if in htaccess or any other way.
DaveAtIFG
10:44 pm on Oct 9, 2001 (gmt 0)
We're pleased you dropped by wmw bsf. Welcome! I've brought your questions up in the moderators forum, hopefully we'll round up some useful answers for you.
littleman
10:54 pm on Oct 9, 2001 (gmt 0)
Try this: order_referer allow_referer,deny_referer deny_referer from all allow_referer from yourdomain.com
bsf
5:41 am on Oct 10, 2001 (gmt 0)
littleman
i made the changes but am getting 500 internal server error saying "... Invalid command 'order_referer', perhaps mis-spelled or defined by a module not included in the server configuration..."
littleman
8:21 am on Oct 10, 2001 (gmt 0)
Sorry, try this: SetEnvIfNoCase Referer "domain\.org" local_ref=1 Order Allow,Deny Allow from env=local_ref
bsf
9:11 am on Oct 10, 2001 (gmt 0)
i am using "...SetEnvIfNoCase Referer "first_domain\.com" local_ref=1 Order Allow,Deny Allow from env=local_ref .." but am still getting 403 forbidden error and their is no error on the error log.
littleman
6:54 pm on Oct 10, 2001 (gmt 0)
Make sure your referer is matching up with what you have in your .htaccess file. I have a script you could use to test different referers ( [cgi-fun.hypermart.net...] ) to make sure you have it right. Put your referer in the "From Where?" section. Turn off your javascript, or you'll be forced to look at pop-up ads.