Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-23-2007, 02:23 PM   #1
GooSearch
Confirmed User
 
Join Date: Oct 2006
Location: FLA
Posts: 2,538
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
__________________
GooSearch Real Text Ads Without The Drama
Coming Back Bigger and Better Then Ever
GooSearch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 02:32 PM   #2
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
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
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 02:34 PM   #3
saros
Registered User
 
Join Date: May 2007
Posts: 20
when they do the install just copy the .htaccess that they put in the members directory to the ebook directory as well
saros is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 02:42 PM   #4
GooSearch
Confirmed User
 
Join Date: Oct 2006
Location: FLA
Posts: 2,538
Quote:
Originally Posted by rowan View Post
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 Real Text Ads Without The Drama
Coming Back Bigger and Better Then Ever
GooSearch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 02:45 PM   #5
GooSearch
Confirmed User
 
Join Date: Oct 2006
Location: FLA
Posts: 2,538
Quote:
Originally Posted by saros View Post
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?
__________________
GooSearch Real Text Ads Without The Drama
Coming Back Bigger and Better Then Ever
GooSearch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 02:55 PM   #6
saros
Registered User
 
Join Date: May 2007
Posts: 20
yes, its that simple
saros is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 06:34 PM   #7
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,010
Quote:
Originally Posted by GooSearch View Post
could it really b that ez?
Yep, whoever told him it wasn't possible is retarded.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2007, 06:35 PM   #8
GooSearch
Confirmed User
 
Join Date: Oct 2006
Location: FLA
Posts: 2,538
Quote:
Originally Posted by fuzebox View Post
Yep, whoever told him it wasn't possible is retarded.
ask ccbill..thats what they told me
__________________
GooSearch Real Text Ads Without The Drama
Coming Back Bigger and Better Then Ever
GooSearch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.