What happens if you code your credentials this way?:
$mech->credentials(
'host.domain.tld:443',
'//cgi-bin/myscript.cgi/',
'adminuser' => 'adminpass'
);
The LWP (which WWW::Mechanize is based upon) mentions this method.
Also, can you verify that you are creating your mec
Thomas Charron wrote:
> Your perl skilz n33d working on. ;-) They're the same thing.
Learning perl by writing inefficient tools that streamline my job. Wee!
>> "Illegal seek"? That's very strange. H... um, try the method
>> > above first. Maybe we'll get lucky and that will work. :)
Postscript:
On 12/7/06, Ben Scott <[EMAIL PROTECTED]> wrote:
system qq("curl $url -o $outfile"); # valid Perl code ;-)
... but a bogus command. That should be:
system qq(curl "$url" -o "$outfile");
-- B
___
gnhlug-discuss mailing list
gnhlug-disc
On 12/7/06, Brian Chabot <[EMAIL PROTECTED]> wrote:
... we must have changed something... as the error is identical.
Huh? :)
That goes before $mech->get right?
Yup.
...and from the docs, is it:
$mech->credentials ("username" => "password");
$mech->credentials ("username","password");
.
On Thursday, Dec 7th 2006 at 13:23 -0500, quoth Paul Lussier:
=>"Steven W. Orr" <[EMAIL PROTECTED]> writes:
=>
=>> No, I'm not asking about whether the generated code is
=>> pc-relocatable. I'm asking if the arg to the --prefix option at
=>> configure time stops the compiler from working if the to
On 12/7/06, Brian Chabot <[EMAIL PROTECTED]> wrote:
Well.. It didn't work, but we must have changed something... as the
error is identical.
That goes before $mech->get right?
...and from the docs, is it:
$mech->credentials ("username" => "password");
or
$mech->credentials ("username","password")
Make sure you have IO::Socket:SSL installed as well. It could also be a
socket that was closed prematurely.
On 12/7/06, Brian Chabot <[EMAIL PROTECTED]> wrote:
I'm trying to use a perl script to scrape a site under https.
Using perl-WWW-Mechanize-1.20-1mdv2007.0 from RPM.
perl-Apache-Test-1.
Ben Scott wrote:
> On 12/7/06, Brian Chabot <[EMAIL PROTECTED]> wrote:
>> $auth = MIME::Base64::encode("$adminuser:$adminpass") || die "Error:
>> $!\n";
>> $mech->add_header (Authorization=>"Basic $auth") || die "Error: $!\n";
>
> You need to do this:
>
> $mech->credentials ("username" => "passw
On 12/7/06, Brian Chabot <[EMAIL PROTECTED]> wrote:
$auth = MIME::Base64::encode("$adminuser:$adminpass") || die "Error: $!\n";
$mech->add_header (Authorization=>"Basic $auth") || die "Error: $!\n";
You need to do this:
$mech->credentials ("username" => "password");
Yet I keep seeing this e
I'm trying to use a perl script to scrape a site under https.
Using perl-WWW-Mechanize-1.20-1mdv2007.0 from RPM.
perl-Apache-Test-1.28-2mdv2007.0
apache-base-2.2.3-1mdv2007.0
apache-mod_perl-2.0.2-8mdv2007.0
The script parses fine till it goes to scrape the page...
The line that's failing is:
"Steven W. Orr" <[EMAIL PROTECTED]> writes:
> No, I'm not asking about whether the generated code is
> pc-relocatable. I'm asking if the arg to the --prefix option at
> configure time stops the compiler from working if the tools are
> installed in a different location. Last time I looked, that was
On Dec 7, 2006, at 09:49, Bill McGonigle wrote:
Has anyone here managed to patch up apache 2.0 to do mod_deflate
compression in the face of internal redirects (e.g.
RewriteRule's)? I have an fc4 system that's working nicely except
for this for a tomcat app. I see apache 2.2 can do it as o
[EMAIL PROTECTED] (Kevin D. Clark) writes:
> Derek Atkins writes:
>
>> I was just guessing that CBCP had anything to do with it. The PPPD
>> I've got installed theoretically supports CBCP. Yes, the windows capture
>> had it, which is why I thought about it. The "nomagic" and "noendpoint"
>> opt
No, I'm not asking about whether the generated code is pc-relocatable. I'm
asking if the arg to the --prefix option at configure time stops the
compiler from working if the tools are installed in a different location.
Last time I looked, that was an issue but now I'm wondering.
If it's no long
***
Dartmouth-Lake Sunapee Linux User Group
http://www.dlslug.org/
***
The next regular monthly meeting of the DLSLUG will be held:
Has anyone here managed to patch up apache 2.0 to do mod_deflate
compression in the face of internal redirects (e.g. RewriteRule's)?
I have an fc4 system that's working nicely except for this for a
tomcat app. I see apache 2.2 can do it as of this past April, but
the 1-liner patch from ap
16 matches
Mail list logo