Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Perrin Harkins
Henrique Pantarotto wrote: I'm having some trouble with CGI.pm working with mod_perl2. What trouble are you having? This guy clearly says that CGI.pm is incompatible with mod_perl2: http://marc.theaimsgroup.com/?l=apache-modperlm=103619647305553w=2 That was 7 months ago. A lot has changed. Keep

Re: [mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-04 Thread Haroon Rafique
On Today at 12:03pm, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB SB In the case of 1.99_09, following happens after running make test SB SB [Mon Jun 02 15:55:16 2003] [error] Invalid CODE attribute: SB TestFilter::out_init_basic at SB

Re: modperl 2.0: apache crashes when running modperl script

2003-06-04 Thread arunappa
-8-- Start Bug Report 8-- 1. Problem Description: apache crashes when accessing this modperl script: package Apache::hello; use strict; use Apache::RequestRec (); use Apache::RequestIO (); use Apache::Const -compile = 'OK'; sub handler { my $request

Fw: Missing html code using dynagzip

2003-06-04 Thread Slava Bizyayev
Sorry, I've just hit a wrong button... - Original Message - From: Slava Bizyayev [EMAIL PROTECTED] To: Scott Alexander [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 9:41 AM Subject: Re: Missing html code using dynagzip - Original Message - From: Scott Alexander [EMAIL

RE: Apache::Cookie

2003-06-04 Thread cap
it works just fine in my app, and 'just fine' maybe all that i need. do you have a better solution, or are you just pointing out the error? -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 10:08 PM To: [EMAIL PROTECTED] Cc: Perrin Harkins;

RE: Apache::Cookie

2003-06-04 Thread Perrin Harkins
On Tue, 2003-06-03 at 13:08, cap wrote: it works just fine in my app, and 'just fine' maybe all that i need. The point is, it shouldn't work. You should not be getting a hash. What should work is this: my $session = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; The

[ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Geoffrey Young
well, the (long) wait is now over - Practical mod_perl is here. weighing in at a whopping 924 pages, Practical mod_perl really needs no introduction for those that are already familiar with the mod_perl Guide. however, from the ORA catalog description: From writing and debugging scripts to

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Ranga Nathan
Geoffrey Young wrote: well, the (long) wait is now over - Practical mod_perl is here. weighing in at a whopping 924 pages, Practical mod_perl really needs no introduction for those that are already familiar with the mod_perl Guide. however, from the ORA catalog description: From writing and

RE: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Frank Maas
well, the (long) wait is now over - Practical mod_perl is here. Geoff, you might be the best person to ask and it might be a worthwhile extension to the mod_perl-documentation: why would one use this new book if (s)he has the mod_perl cookbook already. I am not trying to set a new war between

RE: Apache::Cookie

2003-06-04 Thread cap
Okay, I'm obviously no expert but I see a problem ... I think? : my $cookie = Apache::Cookie-fetch; my $ref_cookie = ref $cookie; returns 'HASH' but my $session = $cookies-{'session'}-value; my $type = ref @session; doesn't return anything, '' or (undef?). strange? However: my

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Geoffrey Young
Frank Maas wrote: well, the (long) wait is now over - Practical mod_perl is here. Geoff, you might be the best person to ask and it might be a worthwhile extension to the mod_perl-documentation: why would one use this new book if (s)he has the mod_perl cookbook already. that's a valid

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Henrique Pantarotto
Option 3 seems okay, excect for the fact that I am that kind of Linux user that is always upgrading everything to the latest version possible. This applies to linux kernel, apache, etc. I don't really have a reason to do this, but I have always done it anyway. You're nuts. I'd fire

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Perrin Harkins
On Tue, 2003-06-03 at 16:10, Geoffrey Young wrote: I know that's not something you find in open source every day, but you'll find us all drinking together at OSCon again this year :) Stas will be drinking cranberry juice, but still drinking. Congratulations on the publication, Eric and

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Henrique Pantarotto
Henrique Pantarotto wrote: I'm having some trouble with CGI.pm working with mod_perl2. What trouble are you having? logs/error_log reported this: [Fri May 30 09:21:20 2003] [error] [client 10.29.31.104] Can't locate Apache.pm in @INC (@INC contains: /home

Re: modperl 2.0: apache crashes when running modperl script

2003-06-04 Thread Stas Bekman
[EMAIL PROTECTED] wrote: [...] 3. This is the core dump trace: (if you get a core dump): I was able to run 'httpd -X' from inside gbd and got a stack trace with mod_perl compiled with MP_DEBUG=1: 0x402f458c in modperl_wbucket_write (my_perl=0x81af228, wb=0x81b3900, buf=0xb438 4,

Re: Problem with a custom response handler and mod_perl 2

2003-06-04 Thread Stas Bekman
Alejandro Galue wrote: Hello, I'm using redhat 8.0 (mod_perl-1.99_05-3, httpd-2.0.40-11.3). I created a custom handler for http responses, and I get this error in httpd log: [Tue Jun 03 07:42:53 2003] [error] [client 127.0.0.1] Can't locate object method header_in via package Apache::RequestRec

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Stas Bekman
Henrique Pantarotto wrote: Henrique Pantarotto wrote: I'm having some trouble with CGI.pm working with mod_perl2. What trouble are you having? logs/error_log reported this: [Fri May 30 09:21:20 2003] [error] [client 10.29.31.104] Can't locate Apache.pm in @INC (@INC contains: /home

Re: [mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-04 Thread Stas Bekman
Haroon Rafique wrote: On Today at 12:03pm, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB SB In the case of 1.99_09, following happens after running make test SB SB [Mon Jun 02 15:55:16 2003] [error] Invalid CODE attribute: SB TestFilter::out_init_basic at SB

Re: USE_ENVIRON_ARRAY

2003-06-04 Thread Stas Bekman
Beau E. Cox wrote: Hi - I'm working on an embedding project, and using mod_perl as a tutorial (OK, I'm sometimes blatantly stealing code :)). My tests on a WIN32 box (Win2K) are somewhat flaky. Linux is solid. A grep of mod perl source on WIN32 led me to so pretty strange environment array

Re: USE_ENVIRON_ARRAY

2003-06-04 Thread Beau E. Cox
- Original Message - From: Stas Bekman [EMAIL PROTECTED] To: Beau E. Cox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM Subject: Re: USE_ENVIRON_ARRAY Beau E. Cox wrote: Hi - I'm working on an embedding project, and using mod_perl as a tutorial

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Stas Bekman
Geoffrey Young wrote: Frank Maas wrote: well, the (long) wait is now over - Practical mod_perl is here. Geoff, you might be the best person to ask and it might be a worthwhile extension to the mod_perl-documentation: why would one use this new book if (s)he has the mod_perl cookbook already.

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Stas Bekman
Geoffrey Young wrote: well, the (long) wait is now over - Practical mod_perl is here. weighing in at a whopping 924 pages, Practical mod_perl really needs no introduction for those that are already familiar with the mod_perl Guide. however, from the ORA catalog description: From writing and

Re: [ANNOUNCE] Practical mod_perl is out!

2003-06-04 Thread Stas Bekman
Ranga Nathan wrote: I have a mod_perl book but I am looking forward to one that includes mod_perl. I believe, corporate IT should take a serious look at using mod_perl. It is time for the heads to come out of the sand. I am interested in creating a presentation for my employer. I need

Authentication design

2003-06-04 Thread Michael L. Artz
I am trying to design/implement a fairly simple authentication scheme using cookies and such, but wanted to air my design questions before I run into too many issues. I would like the site to be almost entirely publicly accessible, however if you log in you get special options in addition to

RE: Authentication design

2003-06-04 Thread Jesse Erlbaum
Hi Michael -- My question basically centers around the best way to protect the only if you login pages. I was thinking of putting them in their own directory and protecting them with a tiny PerlAuthzHandler, which would scatter scripts of the same nature in two separate places (i.e.

[mp2] make test fails to start httpd

2003-06-04 Thread Eric Schwartz
1. Problem Description: 'make' test fails to start httpd: $ make test cd src/modules/perl make -f Makefile.modperl make[1]: Nothing to be done for `all'. /usr/local/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -clean

Re: [mp2] make test fails to start httpd

2003-06-04 Thread Stas Bekman
Eric Schwartz wrote: 1. Problem Description: 'make' test fails to start httpd: [...] waiting for server to start: giving up after 61 secs !!! server failed to start! (please examine t/logs/error_log) [...] *** /usr/local/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0)

Apache::ReadConfig and method handlers

2003-06-04 Thread Issac Goldstand
After a few fruitless days of fiddling with this, I find myself getting nowhere... Can anyone really explain how Apache::ReadConfig and/or direct me to the source code (for handling the namespace, not the code for Perl sections) Issac

Re: UploadMeter

2003-06-04 Thread Issac Goldstand
Sorry for the late reply. http://epoch.beamartyr.net/umtest/form.html That's a development version, but there shouldn't be any noticable differences between that and the currect version. It's just configuration issue. One thing I did note is that MSIE 6 is not refreshing the meter... Issac

RE: UploadMeter

2003-06-04 Thread Ryan Farrington
Feature or bug? Other debug info: Apache::Table=HASH(0xa1223ec) Here is what it told me when I used it. Upload Complete Detected upload field: TestUploadField Detected filename: /yame100.zip (320327 bytes) Reported MIME type: application/x-zip-compressed Spool file: /tmp/apreqHHY8vh Other

Re: UploadMeter

2003-06-04 Thread Issac Goldstand
Feature. definately - That page is a seperate module called ApacheUploadMeterTest.pm whose sole purpose is to analyze the upload fields recieved in that request and report all information on them. It's not part of the Apache::UplaodMeter distro at all (Although up till version 0.22 I believe

[OT] CGI::Push

2003-06-04 Thread Issac Goldstand
Does anyone have success/failure stories using Push responses? Please share. Thanks. Issac