For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > August 2004 > using HTTP authentication









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author using HTTP authentication
Andrew Gaffney

2004-08-04, 3:55 am

I want to use HTTP authentication with apache 2.x for a project I'm working on.
I only need 1 user to be able to access the whole site (similar to a consumer
router's web interface). What do I need to do to setup it up in apache and how
do I access the login information from my Perl scripts?

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548

Bob Showalter

2004-08-04, 8:55 am

Andrew Gaffney wrote:
> I want to use HTTP authentication with apache 2.x for a project I'm
> working on. I only need 1 user to be able to access the whole site
> (similar to a consumer router's web interface).


Okay.

> What do I need to do to setup it up in Apache


This is found in the apache documentation. See e.g.,
http://httpd.apache.org/docs-2.0/howto/auth.html

> and how do I access the login information
> from my Perl scripts?


This is explained in the LWP::UserAgent documentation.
Andrew Gaffney

2004-08-04, 3:55 pm

Bob Showalter wrote:
> Andrew Gaffney wrote:
>
>
> Okay.
>
>
> This is found in the apache documentation. See e.g.,
> http://httpd.apache.org/docs-2.0/howto/auth.html
>
>
> This is explained in the LWP::UserAgent documentation.


That was all I needed. Thanks.

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com