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 04-07-2004, 03:53 PM   #1
Project-Shadow
Confirmed User
 
Industry Role:
Join Date: Feb 2003
Posts: 7,340
Is it possible to use 2 .htpasswd files in 1 .htaccess file?

Alright i've been having a little trouble here, could someone please point me in the right direction.

AuthUserFile /usr/home/folder1/.htpasswd
AuthUserFile /usr/home/folder2/.htpasswd
AuthGroupFile /dev/null
AuthName RESTRICTED
AuthType Basic

*Limit GET POST*
require valid-user
*/Limit*

--

This doesn't seem to work, how would I go about making it work?
Thanks for any help ^_^
Project-Shadow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:07 PM   #2
Project-Shadow
Confirmed User
 
Industry Role:
Join Date: Feb 2003
Posts: 7,340
*cough*
Project-Shadow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:07 PM   #3
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
I don't think that will work, but remember that the password file doesn't *have* to be named .htpasswd. Try renaming one of them.
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:16 PM   #4
Project-Shadow
Confirmed User
 
Industry Role:
Join Date: Feb 2003
Posts: 7,340
Well that doesn't really help, what I'm trying to do is allow users from 2 seperate sites access to 1 central site.. not having any luck -_-
Project-Shadow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:28 PM   #5
prodiac
Confirmed User
 
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
Set a cron job to combine both htpasswd files together into a 3rd file, every minute or so ..

Only problem you'll have is possible duplicate users.
prodiac is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:38 PM   #6
nudecanada
Confirmed User
 
Join Date: Jan 2004
Location: Canada
Posts: 793
There are lots of ways you can do this depending on whether your sites are on the same server or not.

Check this script out, might help.
http://realtimescripts.com/docs/merge.htm
nudecanada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:46 PM   #7
Pamporn
Confirmed User
 
Join Date: Jul 2003
Location: NOT in the USA!
Posts: 280
Yup! merge.pl works great. I recommend that + its free.
__________________
Angel
ICQ 112982517

50% RevShare for your Celebrity Traffic with Pamporn.Com
Pamporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2004, 04:51 PM   #8
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,484
You can also a database for the passwords
__________________
seks.ai for sale - ping me
Naughty 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.