LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-13-2005, 09:44 AM   #1
geekdevil
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-13-2005, 09:50 AM   #2
omes
Member
 
Registered: Jan 2003
Distribution: debian, FreeBSD
Posts: 120

Rep: Reputation: 15
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
 
Old 01-13-2005, 02:07 PM   #3
geekdevil
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Is there a way without cookies?
 
Old 01-13-2005, 02:11 PM   #4
omes
Member
 
Registered: Jan 2003
Distribution: debian, FreeBSD
Posts: 120

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and APACHE servers.. configuration question eech55 *BSD 6 10-20-2004 02:40 PM
SSL Apache, multiple virtual servers gypsy_rabbi Linux - Software 0 09-11-2004 04:03 PM
Simple question, setting up multiple game servers lexington Linux - Newbie 3 05-24-2004 04:11 PM
Apache authorization Sherpa Linux - Software 4 04-25-2004 10:38 AM
Help with Apache 1.3 and Proxy-Authorization registering Linux - Security 2 09-16-2003 01:57 PM


All times are GMT -5. The time now is 07:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration