Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-02-2005, 08:41 AM   #1
hornycash
Confirmed User
 
Join Date: Jun 2002
Location: far beyond reality
Posts: 2,336
htaccess Problem - require valid-user & referer

hi folks,

a question for the tech-guys. i'll have a little content-area secured
by htaccess and htpasswd. now i also wanna access this area with
a valid referer (without the login-box username/password).

.htaccess example:

>>>>>

SetEnvIfNoCase Referer "^http://refererdomain.com" grant_access
SetEnvIfNoCase Referer "^http://www.refererdomain.com" grant_access

AuthUserFile /home/web2/public/member/auth/users
AuthGroupFile /dev/null
AuthName "Members"
AuthType Basic

require valid-user
order deny, allow
deny from all
allow from 213.139.93.
allow from 202.139.152
allow from 210.80.149
allow from env=grant_access
satisfy any

<<<<<<<

so i wanna have the "refererdomain.com" coming through the htaccess
without username/password but every fucking time this login-box is
popping up. does anyone have an idea? thanks in advance!
hornycash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2005, 08:55 AM   #2
pubenemy
Confirmed User
 
Join Date: May 2004
Location: SW FL
Posts: 990
I do not know the answer to your question, but I have a question for you. Why would you want to do this? Makes your site very insecure with a simple spoof program.
pubenemy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2005, 09:10 AM   #3
frank7799
Confirmed User
 
frank7799's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: In the middle of nowhere...
Posts: 1,974
Maybe this one works:

SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://your-domain-name-here.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://your-domain-name-here.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1


Allow from env=locally_linked

But if I were you, I wouldn´t open the content directory.
frank7799 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.