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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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']