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 11-04-2007, 02:41 PM   #1
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
.htaccess gurus

i need a little help creating an .htaccess file that will do the following:

let's say i have 2 servers, and i want the referring domains of the one server to be able to access some specific html pages, or image or video files on the other server.

and i want to redirect everyone else who might try to access those pages to a promo page.

(the application is to use multiple servers to store members only content.)

and let's say that there might be about 30 domains only that would to be able to access the protected pages, and everyone else would be redirected.

how would that .htaccess file be written?

thanks for any help!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 02:43 PM   #2
amateurcanada
Confirmed User
 
amateurcanada's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 3,766
http://www.wiscocomputing.com/articl...g_htaccess.htm Below you can see redirection and referral information, this may accomplish what you seek.
__________________

be our partner - join nichepartners today
will.assum.producer @ AmateurCanada.com / icq: 30146166 / facebook.com/will.assum / #amateurcanada
amateurcanada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 02:44 PM   #3
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Carefully.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 04:44 PM   #4
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally Posted by latinasojourn View Post
i need a little help creating an .htaccess file that will do the following:

let's say i have 2 servers, and i want the referring domains of the one server to be able to access some specific html pages, or image or video files on the other server.

and i want to redirect everyone else who might try to access those pages to a promo page.

(the application is to use multiple servers to store members only content.)

and let's say that there might be about 30 domains only that would to be able to access the protected pages, and everyone else would be redirected.

how would that .htaccess file be written?

thanks for any help!
You are asking for spoofers if you protect members pages this way, don't do it !
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 04:47 PM   #5
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
Quote:
Originally Posted by StarkReality View Post
You are asking for spoofers if you protect members pages this way, don't do it !
I am no expert on multi server setups - but I agree this sounds a bit dodgy...
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 04:48 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
follow the force jimmy
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 05:40 PM   #7
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by StarkReality View Post
You are asking for spoofers if you protect members pages this way, don't do it !
yes, i understand.

the purpose is to create a workaround for a small glitch in antihotlinking script.
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 07:28 PM   #8
NinjaSteve
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2003
Posts: 11,089
How can you block just 1 state in the US?
__________________
...
NinjaSteve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2007, 07:38 PM   #9
thonglife
So Fucking Banned
 
Join Date: Oct 2004
Location: Midwest, US
Posts: 1,566
Quote:
Originally Posted by NinjaSteve View Post
How can you block just 1 state in the US?
in .htaccess? I've never heard of such a thing. Out of curiousity.. Why?
I have heard of using iptables to drop an entire country though, through a script.
thonglife 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.