mac osx librapeq compiling problem

2003-02-26 Thread Lamotte Denis
LD_RUN_PATH= cc -bundle -bundle_loader /usr/bin/perl -lperl -L/System/Library/Perl/darwin/CORE Request.o -o ../blib/arch/auto/Apache/Request/Request.bundle ld: Undefined symbols: _ApacheRequest___parse _ApacheRequest_expires _ApacheRequest_new _ApacheRequest_script_name

mod perl libapreq make test problem

2003-02-26 Thread Lamotte Denis
make test t/httpd -f `pwd`/t/httpd.conf dyld: t/httpd Undefined symbols: _ap_null_cleanup _ap_pcalloc _ap_register_cleanup _ap_table_add _ap_table_get _ap_table_set _ap_table_unset _hvrv2table _mod_perl_tie_table _perl_request_rec _sv2request_rec _ap_day_snames _ap_month_snames _ap_null_cleanup

Re: Help: Can't coerce GLOB to string...

2003-02-26 Thread Kurt George Gjerde
On Wed, 26 Feb 2003, Stas Bekman wrote: use threads; use threads::shared; why do you need to load threads? Do you plan to spawn your own threads? No, they're not supposed to be there. ### TRANSFORM my $results; eval { $results = $stylesheet-transform($document); ### ---

Browser doesn't stop loading a page

2003-02-26 Thread Martin Moss
All, Not much to go on I know, but has anybody ever had this problem? When I load one of my webpages the browser never stops loading, e.g. the page loads ok and I can see and interact with it, but the ie spinning globe still keeps spinning and the status bar at the bottom of the page still shows

Re: Browser doesn't stop loading a page

2003-02-26 Thread Chris Winters
Martin Moss wrote: Not much to go on I know, but has anybody ever had this problem? When I load one of my webpages the browser never stops loading, e.g. the page loads ok and I can see and interact with it, but the ie spinning globe still keeps spinning and the status bar at the bottom of the page

RE: Browser doesn't stop loading a page

2003-02-26 Thread FFabrizio
We had this same problem a while back. One of our developers pecked at it for a couple of weeks off and on, and in our case it turned out to be Javascript. We had some links to the pages that would spin infinitely that looked like: a href=javscript:Foo();Link/a we changed them to this: a

Re: Browser doesn't stop loading a page

2003-02-26 Thread Martin Moss
Yes I think you're right, When I click on a link that takes me to the page in question the page simply stays loading, but it Iclick into the URL Address bar and press enter to reload the page the page loads fine without continuing to spin the globe. I've tried making the changes you suggested

subrequest-run() doesn't send HTTP headers

2003-02-26 Thread rm
Hello list, i'm trying to run a subrequest from within a mod_perl content handler. The subrequest is build from the request's 'lookup_file()' method. Unfortunately, when i invoke the 'run()' method of the subrequest, no HTTP headers are sent (even so the documentation from 'Writing Apache

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- Perrin Harkins [EMAIL PROTECTED] wrote: If you look at the actual contents of Apache::Session::MySQL, you'll see that it's essentially just a config file. There's no need to be concerned about using Flex, but you could easilly code up your own Apache::Session::MySQLNoLocks by

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: Hello list, i'm trying to run a subrequest from within a mod_perl content handler. The subrequest is build from the request's 'lookup_file()' method. Unfortunately, when i invoke the 'run()' method of the subrequest, no HTTP headers are sent (even so the documentation

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread Geoffrey Young
to alter this behavior, use $sub-run(1). see Recipe 3.16 in the Cookbook whoops, that was supposed to be 3.15. --Geoff

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread rm
On Wed, Feb 26, 2003 at 10:23:53AM -0500, Geoffrey Young wrote: well, the Eagle book is a little out of date here http://marc.theaimsgroup.com/?l=apache-modperlm=96687764724849w=2 subrequests do not include headers, so if you use $sub-run() to send the subrequest to the client you

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread Geoffrey Young
subrequests do not include headers, so if you use $sub-run() to send the subrequest to the client you are required to send headers yourself. which i can't, since i have no idea about the mime-type etc. of the file ;-/ yes you do - the subrequest found out for you :)

dl_install.al?

2003-02-26 Thread Warren Pollans
Hello, I'm trying to work through recipe 9.16 in the cookbook - using Apache::DB - although I'm not trying to use Apache::DB yet - just trying to see how my stuff works when I start apache with httpd -X -f path-to-configfile. This is on an ibook (OSX 10.1.5, apache 1.3.26, mod_perl 1.26 - 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: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- md [EMAIL PROTECTED] wrote: Is it possible to have row-level locking (as opposed to table-level or null locker) with MySQL 4.x and Apache::Session? Looks like I get that with InnoDB automatically... __ Do you Yahoo!? Yahoo! Tax Center -

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread Perrin Harkins
md wrote: --- md [EMAIL PROTECTED] wrote: Is it possible to have row-level locking (as opposed to table-level or null locker) with MySQL 4.x and Apache::Session? You effectively have that already, since the MySQL locker only locks an individual session. Check the code. Looks like I get that

Re: How do I convert HTML to PDF

2003-02-26 Thread Ken Y. Clark
On Wed, 26 Feb 2003, Chris Pizzo wrote: Date: Wed, 26 Feb 2003 12:41:58 -0500 From: Chris Pizzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How do I convert HTML to PDF 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

Re: Preloading DBI crashes Apache

2003-02-26 Thread [EMAIL PROTECTED]
On Wed, Feb 26, 2003 at 01:09:46AM -0500, Dan Brosemer wrote: Here's the thread to date: http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2 helo; I am seeing problems with mod_perl in OpenBSD 3.2 chroot env. This has me twiddling my thumbs after tailing my error_log:)

Re: Preloading DBI crashes Apache

2003-02-26 Thread Dan Brosemer
On Wed, Feb 26, 2003 at 11:45:32AM -0700, [EMAIL PROTECTED] wrote: On Wed, Feb 26, 2003 at 01:09:46AM -0500, Dan Brosemer wrote: Here's the thread to date: http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2 helo; I am seeing problems with mod_perl in OpenBSD 3.2 chroot

perl 5.8.0/modperl 1.99/apache2/HPUX 11.00 config problem

2003-02-26 Thread Nathan Sweaney
OK, I've installed perl apache 2 fine. Then I try to configure mod_perl 1.99_08, using the command: # perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 it seems to work fine except for this warning: Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/local/apache2

make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-26 Thread Priest, Darryl - BALTO
I'm getting the error below for every cc in the make: /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236 (W) Macro name __attribute__ has been redefined. /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358 (I) __attribute__ is defined on line 28 of

Invalid command 'PerlCleanupHandler'

2003-02-26 Thread Jie Gao
Hi All, On redhat 8 using mod_perl-1.99_05-3 I have the folloing in httpd.conf: PerlCleanupHandler sub { %ENV = () } in VirtualHost, and am getting: Invalid command 'PerlCleanupHandler', perhaps mis-spelled or defined by a module not included in the

Re: Preloading DBI crashes Apache

2003-02-26 Thread [EMAIL PROTECTED]
On Wed, Feb 26, 2003 at 02:05:24PM -0500, Dan Brosemer wrote: This is not the problem I'm seeing at all. You'll note from this thread http://monkey.org/openbsd/archive/misc/0302/msg01943.html that I see this same problem when using the sources from apache.org (no chroot available to be a

Re: [MP2] Apache::Reload date bug

2003-02-26 Thread Ron Savage
On Wed, 26 Feb 2003 09:23:39 +1100, Stas Bekman wrote: Hi Stas Have you tried the current mod_perl cvs? No. Being usually a Windows (shudder) user, I wait for Randy to issue a build. Today I spent 4 hours failing to install Red Hat 6, Red Hat 8 and Mandrake 9 on a brand new Dell with a

Re: Help: Can't coerce GLOB to string...

2003-02-26 Thread Stas Bekman
Kurt George Gjerde wrote: On Wed, 26 Feb 2003, Stas Bekman wrote: use threads; use threads::shared; why do you need to load threads? Do you plan to spawn your own threads? No, they're not supposed to be there. ### TRANSFORM my $results; eval { $results =

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread Stas Bekman
to alter this behavior, use $sub-run(1). Ah, thank's a _lot_, that did it. Now, the only question is: why isn't that documented? Please submit a documentation patch for this. It should be somewhere in http://perl.apache.org/docs/1.0/api/

Re: perl 5.8.0/modperl 1.99/apache2/HPUX 11.00 config problem

2003-02-26 Thread Stas Bekman
Nathan Sweaney wrote: OK, I've installed perl apache 2 fine. Then I try to configure mod_perl 1.99_08, using the command: # perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 it seems to work fine except for this warning: Reading Makefile.PL args from @ARGV MP_AP_PREFIX =

Re: Invalid command 'PerlCleanupHandler'

2003-02-26 Thread Stas Bekman
Jie Gao wrote: Hi All, On redhat 8 using mod_perl-1.99_05-3 I have the folloing in httpd.conf: PerlCleanupHandler sub { %ENV = () } in VirtualHost, and am getting: Invalid command 'PerlCleanupHandler', perhaps mis-spelled or defined by a module not

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-26 Thread Stas Bekman
Priest, Darryl - BALTO wrote: I'm getting the error below for every cc in the make: /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236 (W) Macro name __attribute__ has been redefined. /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358 (I) __attribute__ is

Scripts and HTML docs in the same directory (+ modperl newbie experiences)

2003-02-26 Thread Mark James
Hello All, Took me a day, but I think I've finally been able to move my scripts from plain cgi perl to mod_perl2. The extensive documention on perl.apache.org was invaluable, though I have some comments below. One question: Prior to using mod_perl I was able to have unsuffixed scripts and .html

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-26 Thread Perrin Harkins
On Wed, 2003-02-26 at 23:16, Mark James wrote: One question: Prior to using mod_perl I was able to have unsuffixed scripts and .html files residing together in the server root directory by using Apache's Files directive to force the scripts to be executed: e.g. Files db

Re: [MP2] Apache::Reload date bug

2003-02-26 Thread Randy Kobes
On Thu, 27 Feb 2003, Ron Savage wrote: On Wed, 26 Feb 2003 09:23:39 +1100, Stas Bekman wrote: Hi Stas Have you tried the current mod_perl cvs? No. Being usually a Windows (shudder) user, I wait for Randy to issue a build. The mod_perl 2 ppm package (for ActivePerl 8xx) at

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-26 Thread Stas Bekman
Mark James wrote: Hello All, Took me a day, but I think I've finally been able to move my scripts from plain cgi perl to mod_perl2. The extensive documention on perl.apache.org was invaluable, though I have some comments below. One question: Prior to using mod_perl I was able to have unsuffixed

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-26 Thread Mark James
Perrin Harkins wrote: You should be able to do the SetHandler inside a Files directive just like you did with ForceType. Have you tried that? Thanks Perrin, that worked. I didn't think SetHandler directives were allowed in Files sections, because it's not listed in the SetHandler docs

Approaches to upgrading Apache but not mod_perl

2003-02-26 Thread Carlos Ramirez
I've been using apache/mod_perl for some time now and have upgraded apache many times with mod_perl. In most cases I've only had to upgrade the web server only but since I use mod_perl I also compile mod_perl statically. Now my question is: What's the correct or best approach of compiling

Re: How do I convert HTML to PDF

2003-02-26 Thread Matt Sergeant
On Wednesday, Feb 26, 2003, at 17:41 Europe/London, Chris Pizzo wrote: 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? Check out HTMLDoc.