htaccess external members / non-members see only thumbnails htaccess external members / non-members see only thumbnails
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

htaccess external members / non-members see only thumbnails

Started by Huser, April 07, 2005, 07:55:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Huser

i have a an external member system by htaccess.  I would like the non-members of the external member system to only see the thumbnails of the members' pics.

While members of hte external member system can see everything.

What can i do to accomplish this? ???


Huser

Would i have to edit (user id) to specify that only the htaccess members can see everything?

The htaccess is something like this.

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://members.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.members.com [NC]
RewriteRule /* http://www.mysite.com/join.html [R,L]


Nibbler

You'd need to change USER_ID to $_SERVER['PHP_AUTH_USER']