well, are you passing the authentication credentials when you create
the LWP useragent?
IIRC, there's a whole section in the LWP documentation on HTTP basic auth...
(also, you might want to consider taking your questions over to
'
begi...@perl.org' -- not sure there are that many people on this
list anymore.)
j.
On Mon, Nov 3, 2014 at 8:41 AM, Patton, Billy N <
billy....@h3net.com> wrote:
> I’ve gotten everything copied and working from the Chrome, but when I execute my test script I get :
> ok 1 - In sub main::login
> ok 2 - : 49 : Credentials passed ok
> Error GETing
http://cportal-test.dfw0.hypercube-llc.com/html/cp.cgi: Authorization Required at /System/Library/Perl/Extras/5.18/LWP/Authen/Basic.pm line 56.
>
> Here is my .htaccess :
> AuthType Basic
> AuthName "HyperCube Customer Portal requires a username and password"
> AuthUserFile /var/www/passwords/cportal.passwd
> Require valid-user
>
>
> login/password is the same for all versions.
>
>
> I know it is something just one step away, can’t get what it is?