Re: Stupid Perl/Apache Question

2006-12-07 Thread Kevin D. Clark
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

Re: Stupid Perl/Apache Question

2006-12-07 Thread Brian Chabot
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. :)

Re: Stupid Perl/Apache Question

2006-12-07 Thread Ben Scott
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

Re: Stupid Perl/Apache Question

2006-12-07 Thread Ben Scott
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"); .

Re: Question about gcc/binutils relocatability

2006-12-07 Thread Steven W. Orr
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

Re: Stupid Perl/Apache Question

2006-12-07 Thread Thomas Charron
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")

Re: Stupid Perl/Apache Question

2006-12-07 Thread Thomas Charron
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.

Re: Stupid Perl/Apache Question

2006-12-07 Thread Brian Chabot
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

Re: Stupid Perl/Apache Question

2006-12-07 Thread Ben Scott
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

Stupid Perl/Apache Question

2006-12-07 Thread Brian Chabot
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:

Re: Question about gcc/binutils relocatability

2006-12-07 Thread 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 tools are > installed in a different location. Last time I looked, that was

Re: apache2.0 with mod_deflate and internal redirects?

2006-12-07 Thread Bill McGonigle
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

Re: Strange PPP Disconnect errors?

2006-12-07 Thread Derek Atkins
[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

Question about gcc/binutils relocatability

2006-12-07 Thread Steven W. Orr
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

[GNHLUG] TONIGHT!: DLSLUG Monthly Meeting - December 7th

2006-12-07 Thread Bill McGonigle
*** Dartmouth-Lake Sunapee Linux User Group http://www.dlslug.org/ *** The next regular monthly meeting of the DLSLUG will be held:

apache2.0 with mod_deflate and internal redirects?

2006-12-07 Thread Bill McGonigle
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