htaccess question - X Nations
      
      
Go Back   X Nations > X Nations > General Webmaster Business and Discussions

Reply
 
Thread Tools Display Modes
Old 04-13-2003, 05:55 PM   #1
schilli
schilli should edit this
Member
 
schilli's Avatar
 
Join Date: Sep 2002
Location: Toronto, Ontario, Canada
Posts: 57
xBucks: 3,089
Send a message via ICQ to schilli Send a message via Yahoo to schilli
Default htaccess question

More htaccess questions.

Here's the htaccess I'm using to protect my members area:
AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/data/.htpasswd
AuthName MEMBERS
AuthType Basic


require valid-user


I want to be able to offer a "tiered" membership option allowing access to more withing my membership area for more money. So I need to protect directories separately. With the file listed above does anyone know if I can add some lines in??? I'd try it on my server but I don't want to mess with my present customers and accidently block them out. I'd basically be adding separate data locations for the password files to different directories. So does anyong know if I can do this --

AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/data/.htpasswd
AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/vdata/.htpasswd
AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/data1/.htpasswd
AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/data2/.htpasswd
AuthUserFile /usr/local/apache/www/chriss/chezchris.ca/data#/.htpasswd
AuthName MEMBERS
AuthType Basic


require valid-user



-- in other words repeat the "AuthUserFile" line???
schilli is offline   Reply With Quote
Old 04-13-2003, 07:17 PM   #2
wsjb78
wsjb78 should edit this
Local Shadow Agent #1
 
wsjb78's Avatar
 
Join Date: Nov 2002
Location: Home
Posts: 1,061
xBucks: 16,700
Default

Hmmm,

how about setting up a database with member info and access areas and then writing or deleting usernames from local area .htaccess files? We've done a similar thing with PHP!
wsjb78 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
2013 - xnations.com
All times are GMT -4. The time now is 02:06 AM.
Skin by vBCore.com