Thread: .htaccess gurus
View Single Post
Old 11-04-2007, 04:44 PM  
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