RE: Problem building libapreq-1.2

2003-06-29 Thread Chris Pizzo
I was able to get it to build by manually coping the header files to the apache source tree but there still is no bash$ locate mod_perl.h in the perl tree. Chris -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:55 PM To: Chris Pizzo Cc

Re: Problem building libapreq-1.2

2003-06-25 Thread Chris Pizzo
checked another install I did and they are there. I guess I should also say I am building Apache using DSO Thanks for the help, Chris At 04:50 PM 6/24/2003, Chris Pizzo wrote: Hi all, I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep getting these warnings when i run perl

Problem building libapreq-1.2

2003-06-24 Thread Chris Pizzo
Hi all, I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep getting these warnings when i run perl Makefile.PL: Warning: -L../blib/arch/auto/libapreq changed to -L/home/Chrisp/libapreq-1.2/Request/../blib/arch/auto/libapreq Warning: -L../blib/arch/auto/libapreq changed to

RE: Problem building libapreq-1.2

2003-06-24 Thread Chris Pizzo
Yes I did install the mod perl. I even brought up the apache test page indicating it was installed. -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 6:14 PM To: Chris Pizzo Cc: [EMAIL PROTECTED] Subject: Re: Problem building libapreq-1.2 On Tue

Not reading $ENV variable

2003-06-03 Thread Chris Pizzo
Hi all, I'm seeing a weird thing. Sometimes my script sees nothing in the $ENV{HTTP_REFERER} variable. Im not sure what is causing this. It works some of the time. I do this at the begining of the script...heres the code: my $r = Apache-request; use DBI;# for connecting to the

How do I convert HTML to PDF

2003-02-26 Thread Chris Pizzo
Hi All, I want to take an Invoice that exists as an html doc and convert it to a PDF file to attach to an email. I have been looking at DocSet but this seems better suited for large documents. Any help? Thanks, Chris

Re: Novice - Problem with data encoding

2002-11-01 Thread Chris Pizzo
Haapala [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, November 01, 2002 6:35 AM Subject: Re: Novice - Problem with data encoding I have an XML doc that I generated using XML::LibXML that needs to be included as a hidden form field in a form post

Novice - How would I add a hidden form field to a LWP::UserAgent call?

2002-10-31 Thread Chris Pizzo
Hi, I'm trying to post data to a server that requires a hidden form field. This is what I'm doing: my $content = info=somedata; my $rec_len = length($content); my $send_url = new URI::URL($url); my $hdrsend = new HTTP::Headers('Content-length' = $rec_len); $hdrsend-header('Content-type' =

Novice - Problem with data encoding

2002-10-31 Thread Chris Pizzo
Hi, I have an XML doc that I generated using XML::LibXML that needs to be included as a hidden form field in a form post. Code snippet: sub getcXML { use XML::LibXML; my $resp_doc = XML::LibXML::Document-new(); my $root = $resp_doc-createElement('blah'); ... my $content = $resp_doc-toString;

[newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo
The documentation tells me how to create a new response object but how do I reply to a request using my custom response? Thanks, Chris

Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo
OK, I am getting a request from a server and I need to respond with an XML doc. - Original Message - From: Perrin Harkins [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 12:54 PM Subject: Re: [newbie] How do I send a custom

How do I handle an XML document sent as a POST [newbie]

2002-10-22 Thread Chris Pizzo
I'm trying to figure out how to get the XML document sent to me in a An HTTP transmission. The example I'm given is: HTTP headers: POST HTTP/1.0 Content-type: text/xml; charset=UTF-8 Content-length: 1862 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 User-Agent: Java1.1 Host:

Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
This might be a little off topic. I recently installed apache 1.3.26 with modperl 1.26. I run a virtual host seconady website. When I try to retieve or write cookies to a netscape browser from the virtualhost URL it doesn't work. cookies work fine on the main server. cookies work fine on both

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
- Original Message - From: Charles [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 1:51 PM Subject: RE: Weird problem with cookies on Netscape with apache running a virtualhost Chris, It is a bit difficult to determine your

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
Doh! Thanks that's it! - Original Message - From: ___cliff rayman___ [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: Charles [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 12, 2002 5:10 PM Subject: Re: Weird problem with cookies on Netscape with apache running

Creating an installable web site.

2001-12-06 Thread Chris Pizzo
Im looking for a way to create an installable version of my wesite to distribute to customers that don't have web access. The site basically shows the inventory I have and uses a postgres database and mod perl to show the product sorted in the manner that the user wants to see it. Can someone

Database connection errors in modperl

2001-09-10 Thread Chris Pizzo
(Unix) mod_ssl/2.8.4 OpenSSL/0.9.6a mod_perl/1.26 HTML::Embperl 1.3.3 [Mon Sep 10 20:41:56 2001] but if i refresh the page everything loads correct. Any idea what's causing this? Thanks in advance for any help you can give. Chris Pizzo

Error decrypting in message using gpg in modperl script

2001-08-09 Thread Chris Pizzo
Anyone know why the decryption fails using gpg when run in a perl script in a browser but works if run in a shell? Here's the code sample: my $cipher = TAG; -BEGIN PGP MESSAGE- pvbhS8Q22VYPqn+4sitEw0bgTmDhPo6rruzsSJxCHLBUyTPrYaPlmelF2iADCpKD

Error in Perl code: Can't locate Apache/Cookie.pm in @INC

2001-07-17 Thread Chris Pizzo
direction to get the other modules loaded or what I didn't do that I needed to do to make the active? Chris Pizzo [EMAIL PROTECTED]

RE: Error in Perl code: Can't locate Apache/Cookie.pm in @INC

2001-07-17 Thread Chris Pizzo
Thanks that solved the problem. Chris -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 12:42 PM To: Chris Pizzo; [EMAIL PROTECTED] Subject: Re: Error in Perl code: Can't locate Apache/Cookie.pm in @INC mod_perl as a DSO; can someone point