Re: Getting a local file

2003-12-09 Thread Rob Dixon
Jason Chinnes wrote: > > Thanks for your reduction of the code, and for your input in general. I > have tried http://localhost/ w/o a file name. In a browser, I get the > apache generated directory index. From the script, however, I get the > same hanging behavior untill it times out. In regard

RE: Getting a local file

2003-12-09 Thread Jason Chinnes
Rob, Thanks for your reduction of the code, and for your input in general. I have tried http://localhost/ w/o a file name. In a browser, I get the apache generated directory index. From the script, however, I get the same hanging behavior untill it times out. In regardes to your comment:

Re: Getting a local file

2003-12-09 Thread Rob Dixon
Hi Jason. Jason Chinnes wrote: > > I am using mod_perl with Apache 1.3 (Win32) and am having difficulty > with the following code. > > -- > use CGI; > use Data::Dumper; > use HTTP::Request; > use LWP::UserAgent; > > my $q = new CGI; > $ua = new LWP::UserAgent; > $site = 'http://www.example

Getting a local file

2003-12-08 Thread Jason Chinnes
I am using mod_perl with Apache 1.3 (Win32) and am having difficulty with the following code. -- use CGI; use Data::Dumper; use HTTP::Request; use LWP::UserAgent; my $q = new CGI; $ua = new LWP::UserAgent; $site = 'http://www.example.com/'; print $q->header; # create the HTTP heade