httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wolever <wolever.li...@gmail.com>
Subject Re: [users@httpd] htpasswd
Date Wed, 18 Jan 2006 05:36:58 GMT
I don't think Apache likes to do that very much... I'm sure it would
be possible to hack your way around it, but the basic authentication
scheme is just that... basic.
It may be quicker and easier to whip something up in PHP (or Perl, or
Python or what have you).  I know sessions are really easy in PHP, you
could probably do this sort of authentication in a couple of lines
(feel free to e-mail me if you'd like those couple lines).
David
On 1/17/06, farhan ahmed <farhhanahmed@hotmail.com> wrote:
>
>
> Hi folks,
>
> I have been running 2 apache servers on different machines.And both apache
> servers are doing
>
> basic authentication. I created same users and passwords on both boxes. On
> the webpage it
>
> must ask for user name and passowrd once for either apache1 or apache2, but
> it asks user name
>
> and password for both servers. Is there anyway on client side if you give
> user name and password
>
> once it must not ask for other server.
>
> Example
>
> Server1: username = abc
>
>               password = abc
>
> Server2: username = abc
>
>               password = abc
>
> my index.html
>
> <a href = "http://server1">Server1</a>, when i click on it it asks for user
> name and password i
>
> give and page opens
>
> <a href = "http://server2">Server2</a> When I click on that browser must
> store user name and
>
> password in cache and it should not ask for user name and password but it
> asks for user name
>
> and password
>
> Please help me
>
> Thanks
>
>
>
>
>
> --
>
> Regards,
>
> Farhan Ahmed
>
> NMS Engineer
>
> Soul Australia
>
> Level 14, 201 Kent Streen
>
> Sydney  NSW 2000
>
> Phone(Office): 61 2 8220 6022
>
> Fax(Office): 61 2 9252 6864
>
> Mobile: 61 432 156906
>
> Email: fahmed@soulaustralia.com.au
>
> URL: www.soulaustralia.com.au
>
>   --------------------------------------------------------------------- The
> official User-To-User support forum of the Apache HTTP Server Project. See
> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org "
> from the digest: users-digest-unsubscribe@httpd.apache.org For additional
> commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message