LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache question....authorization and multiple servers (https://www.linuxquestions.org/questions/linux-software-2/apache-question-authorization-and-multiple-servers-277319/)

geekdevil 01-13-2005 09:44 AM

Apache question....authorization and multiple servers
 
I have a particular apache server which runs a main site that has several cgi tools off of it. I would like too put some of these scripts on another server and link to this second server from the main page off of the first. My question is this....The main server's pages are password protected using .htaccess files. I need the tools I put on the secondary server to be password protected as well but if someone goes through the main page to get there I don't want them to have to enter there username and password twice. Is there anyway to do this in the apache config or the .htaccess files? I will not know the ip's of the people making requests to this so I cannot use allow/deny statements for specific ip's. Any help would be greatly appreciated.

omes 01-13-2005 09:50 AM

There are probably many ways to do this.. The most common however is by using cookies.
Personally i HATE cookies.. So be sure to make the site ask for the password over again if the cookie is lost/never was received by the user!

- omes

geekdevil 01-13-2005 02:07 PM

Is there a way without cookies?

omes 01-13-2005 02:11 PM

Quote:

Originally posted by geekdevil
Is there a way without cookies?
Unless you wanna code a module that connects the two sites and makes a vertification that both of them can read safely, i don't know of any, sorry. Keep on looking though, i might be wrong.

Good luck.

- omes


All times are GMT -5. The time now is 05:50 AM.