View Full Version : How to share content between two paysites?
shunga
12-11-2001, 02:12 PM
If you had two paysites, and you wanted to have them share content from another domain, how would you do it? All three sites would be on the same server. The content on the third domain - www.content.com/members/ (http://www.content.com/members/) for example - would have to be password protected, and only the members of the two paysites would have access. The content would include pictures and movies, including streaming movies.
It doesn't seem to be possible for the processors to handle that directly, so how could it be done..?
Amputate Your Head
12-11-2001, 02:19 PM
Put your content in a main "content" directory somewhere. Protect it with htaccess. Now... for your "Members Entrance", once a user logs in, send them to a generic page saying "Granted" or something... make this page for each site and put in their respective members folder as the index. Put a link on it going to the "Content" or main members area that you have all your stuff on. You'll hafta set up your htaccess to allow from those domains.
BAM! One members area for as many sites as you like.
mr. mpg
12-11-2001, 02:39 PM
Put all your content in one folder.... lets call it pictures. Then make symbolic links to it from members area. No need to fuck around with .htaccess to do that.
shunga
12-11-2001, 03:09 PM
Originally posted by Amputate Your Head:
<STRONG>Put your content in a main "content" directory somewhere. Protect it with htaccess.</STRONG>
The problem is that code that works to protect pictures, won't work with movies. I'm helping out a friend with this, and this is the code he tried:
AuthUserFile /home/httpd/paysite1.com/secdata/.htpasswd
AuthUserFile /home/httpd/paysite2.com/secdata/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Only"
AuthType Basic
It works with one paysite, but not the other. Any ideas?
toker
12-11-2001, 03:38 PM
Use an alias the second domain to point to the same member directory on the same server just talk to your host im sure they can help.
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.