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 Mark Forums Read
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 12-10-2006, 11:50 AM   #1
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
.htaccess question

Lets say a member logins to my site and I automatically wants him to be logged in to 2 or 3 of my other sites what do I do?

In our CARMA setup now we show the latest sets from various sites but it asks for logins to each site since they're not logged in to them.

Could someone point me in the right direction there?
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 11:53 AM   #2
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
you could setup a cron that copies the htpasswd
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:05 PM   #3
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
I've never tried it or heard about it, but if the sites are on the same server, can't you symlink the htpasswd files to point to just one?

And apologies on the above post if it's a dumb idea... just popped in the head.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:05 PM   #4
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
not sure how that would make the login box not appear once he logs in to one site and I display a picture on a whole different domain that he's not logged in to.

I was thinking about doing it by setting apache enviromental values and do the whole login process using PHP I'm afraid that would open up the entire members area except that one script doing the login.

am I wrong?

I'm not a noob to programming but I'm kinda new to Apache so bear with me
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:07 PM   #5
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
Quote:
Originally Posted by psili View Post
I've never tried it or heard about it, but if the sites are on the same server, can't you symlink the htpasswd files to point to just one?

And apologies on the above post if it's a dumb idea... just popped in the head.
they use the same htpasswd files that's not the problem, the problem is apache considers a login to be for one domain only. I want them to be able to login to domain 1 but get access to domain 2 and 3 also but not domain 4 and 5.

get the point?
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:08 PM   #6
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
Quote:
Originally Posted by natkejs View Post
they use the same htpasswd files that's not the problem, the problem is apache considers a login to be for one domain only. I want them to be able to login to domain 1 but get access to domain 2 and 3 also but not domain 4 and 5.

get the point?
youd need to code something for that, in fact theres a prg that does that I googled it long ago

cause any normal htpasswd login wont work like that

lemme c if i can find it
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:14 PM   #7
DutchTeenCash
I like Dutch Girls
 
DutchTeenCash's Avatar
 
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
hmm that wasnt different domains - wonder if thats possible without getting the login popup, even with synchronizing the servers
DutchTeenCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 12:19 PM   #8
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Didn't realize apache thought password files were for different domains... Apologies. I checked a couple of htpasswd files and it looks like it's only username:password and the password file location is defined in the virtual host. Thought all that would take is a central password file pointed to by the virtual hosts.

Guess I should try shit before I post about it. Again, here's a bump and good luck.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-10-2006, 01:11 PM   #9
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
well I'll keep searching, thanks for all the suggestions guys and I'll post again if I find a solution. but I suspect I'd have to write a custom apache module or something for it.
__________________
natkejs 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
Thread Tools



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.