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 05-17-2007, 10:54 AM   #1
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
Need htaccess help!

i have a directory that i need to protect, BUT have multiple password files that will give access to that directory. basicly a chat board for members of multiple websites so it needs to consult multiple password files for access.

anyone know if this can be done?
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 11:31 AM   #2
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
bump for some help ;)
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:05 PM   #3
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
aw come on...no body can help a brutha out?
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:09 PM   #4
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,665
Normally, it is the other way around :

4 or 5 sites sharing the same password file thru their respective .htaccess file...

Search, there must be a solution ... I have no time to do that search .. sorry.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:12 PM   #5
Randyyy
Confirmed User
 
Join Date: Jan 2007
Posts: 2,240
bump for u man, takes a while to get responses
__________________
need video editing done? hit me up!
ICQ: 10347906
Randyyy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:27 PM   #6
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
are the websites on the same server? or in the same datacenter?
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:34 PM   #7
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
Quote:
Originally Posted by directfiesta View Post
Normally, it is the other way around :

4 or 5 sites sharing the same password file thru their respective .htaccess file...

Search, there must be a solution ... I have no time to do that search .. sorry.
yeah, i spent a lot of last night searching with no luck so thought with the wealth of knowledge on this board, maybe someone here might have an answer ;)
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:35 PM   #8
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
Quote:
Originally Posted by mortenb View Post
are the websites on the same server? or in the same datacenter?
yes, same server. couple of different drives, but same physical machine
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 04:40 PM   #9
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
Then the easiest way would be to join all the htpasswd files into a new one for the forum. You could have a cronjob doing it every few minutes to keep the new file updated.

Something like "cat passfile1 passfile2 passfile3 passfile4 > newpassfile" and then have the htaccess for the forum point to newpassfile

Last edited by mortenb; 05-17-2007 at 04:42 PM..
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 05:50 PM   #10
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
Quote:
Originally Posted by mortenb View Post
Then the easiest way would be to join all the htpasswd files into a new one for the forum. You could have a cronjob doing it every few minutes to keep the new file updated.

Something like "cat passfile1 passfile2 passfile3 passfile4 > newpassfile" and then have the htaccess for the forum point to newpassfile
might give this a try...any chance you know of a tutorial for something like this?
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 06:00 PM   #11
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,665
Quote:
Originally Posted by WebTitan View Post
might give this a try...any chance you know of a tutorial for something like this?
for the cron job, if this could work, you can use rsync to keep the files " synced " ...
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 06:11 PM   #12
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
Quote:
Originally Posted by WebTitan View Post
might give this a try...any chance you know of a tutorial for something like this?
I don't know of any tutorials, but whoever does your coding for you should be able to set it up for you in less than 10 minutes.. It's pretty simple..
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 06:24 PM   #13
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
cool. thanks for the help guys! I really appreciate it
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 06:30 PM   #14
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
Someday - and that day may never come - I'll call upon you to do a service for me. But until that day, accept this justice as a gift on my....

Last edited by mortenb; 05-17-2007 at 06:32 PM..
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 07:05 PM   #15
WebTitan
Confirmed User
 
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
Quote:
Originally Posted by mortenb View Post
Someday - and that day may never come - I'll call upon you to do a service for me. But until that day, accept this justice as a gift on my....
ok Don Corlone...
WebTitan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2007, 08:32 PM   #16
Way3
Confirmed User
 
Way3's Avatar
 
Industry Role:
Join Date: Mar 2007
Location: Phoenix, Arizona
Posts: 1,727
I don't know if these will help you, but I thought I'd pass them along:

.htaccess tutorial
http://www.freewebmasterhelp.com/tutorials/htaccess/

.htaccess file generator
http://cooletips.de/htaccess/

Hope it helps you. Best of Luck!
__________________

FULLY Managed! FREE Control Panel! FREE Month on ALL Shared Accounts!!!
ICQ: 169-554-261
Email: info[at]way3{dot}com
Way3 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.