GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CCBILL + .htaccess + new site + multiple folders = ? (https://gfy.com/showthread.php?t=745484)

GooSearch 06-23-2007 02:23 PM

CCBILL + .htaccess + new site + multiple folders = ?
 
hey there.. setting up a site for a buddy and ccbill is telling us that i can only protect one file using their stuff.. this guy wants to have his ebooks and video in 1 folder and members in another.. i think he should have both protected.. ccbill tells me they only do one.. how can protect multiple folders for him but still be able to access with the ccbill user name and pass?
stripperschool.com fyi
thx

rowan 06-23-2007 02:32 PM

I don't see why it shouldn't be possible, the "AuthUserFile" directive in Apache references a full path and filename, which means you should be able to use it more than once.

Here's an example, you would place this in .htaccess in both directories you wish to protect.

AuthName "member area"
AuthType Basic
AuthUserFile /path/to/htpasswd
require valid-user

saros 06-23-2007 02:34 PM

when they do the install just copy the .htaccess that they put in the members directory to the ebook directory as well

GooSearch 06-23-2007 02:42 PM

Quote:

Originally Posted by rowan (Post 12647718)
I don't see why it shouldn't be possible, the "AuthUserFile" directive in Apache references a full path and filename, which means you should be able to use it more than once.

Here's an example, you would place this in .htaccess in both directories you wish to protect.

AuthName "member area"
AuthType Basic
AuthUserFile /path/to/htpasswd
require valid-user


hmm so i would just change /path/to/hatpasswd will try it

GooSearch 06-23-2007 02:45 PM

Quote:

Originally Posted by saros (Post 12647725)
when they do the install just copy the .htaccess that they put in the members directory to the ebook directory as well

could it really b that ez?

saros 06-23-2007 02:55 PM

yes, its that simple

fuzebox 06-23-2007 06:34 PM

Quote:

Originally Posted by GooSearch (Post 12647765)
could it really b that ez?

Yep, whoever told him it wasn't possible is retarded.

GooSearch 06-23-2007 06:35 PM

Quote:

Originally Posted by fuzebox (Post 12648393)
Yep, whoever told him it wasn't possible is retarded.

ask ccbill..thats what they told me


All times are GMT -7. The time now is 11:42 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123