Nik has asked for the wisdom of the Perl Monks concerning the following question:
I have also created the .htacess and .htpasswd files but iam consused here. do ireally need to sue them?my $browser = LWP::UserAgent->new; $browser->credentials( 'www.nikolas.tk:80', 'Personal Folder', 'nikos' => '********' ); my $url = 'http://www.nikolas.tk/cgi-bin/games.pl'; my $response = $browser->get($url); die "Error: ", $response->header('Nikos Personal Folder') || 'Error ac +cessing', "\n ", $response->status_line, "\n at $url\n Aborting" unless $response->is_success;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http authentication dialog
by kgraff (Monk) on May 24, 2005 at 19:04 UTC | |
|
Re: http authentication dialog
by brian_d_foy (Abbot) on May 24, 2005 at 21:06 UTC | |
| |
|
Re: http authentication dialog
by snookmz (Beadle) on May 24, 2005 at 20:56 UTC |