Problem Installing Apache::Request and Apache::Test...

2004-07-22 Thread Rajesh Pethe
Dear Sir, I've statically compiled apache-1.3.31 and mod_perl-1.29 and now I need use Apache::Request in my scripts but the module is'nt present on my system. I've downloaded it from CPAN but 'perl Makefile.PL' results in error due to absence of needed version of Apache::Test module. Next i

[mp2] netbsd 1.6.2, perl 5.8.4, apache 2.0.50, mod_perl 1.99_14 make test fails

2004-07-22 Thread MGorbunov
Hi everybody, NetBSD-1.6.2, Apache-2.0.50, perl-5.8.4, mod_perl-1.99_14, standard istall from pkgsrc: Failed Test Stat Wstat Total Fail Failed List of Failed --- t/filter/both_str_con_add.t

Re: Problem Installing Apache::Request and Apache::Test...

2004-07-22 Thread Richard Bauer
On Monday 19 July 2004, Rajesh Pethe wrote: Dear Sir, I've statically compiled apache-1.3.31 and mod_perl-1.29 and now I need use Apache::Request in my scripts but the module is'nt present on my system. I've downloaded it from CPAN but 'perl Makefile.PL' results in error due to absence of

Can't set or modify ssl apache environment variables for user certificates

2004-07-22 Thread richard dinh
Hello, I am running Apache 2.0.49 with mod_perl, mod_ssl, on Windows 2000. The problem that I am trying to solve is to take a user's certificate, find out that information, and rewrite that information in the Apache Environment table. When the page I have finally loads, the client machine never

Method Handler not working

2004-07-22 Thread MARTIN MOSS
All, I have a quirky issue concerning a redhat machine and Apache 1. I have a method handler sub handler ($$) { my $class=shift; my $r = shift; } Which when running on a redhat linux machine dies with the error message "Attempt to bless into a reference" and when analysing the incoming

Re: Method Handler not working

2004-07-22 Thread Perrin Harkins
On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on machines running the same code (mirrored in the same way as the redhat box), it works perfectly fine. Has anybody seen this type of error before, is it the symptom of some other issue that I've missed somehow? Did

ANNOUNCE: Krang SiteMap 1.00

2004-07-22 Thread Peter Leonard
We're pleased to announce that Krang SiteMap v1.00 has been released. Krang SiteMap is a Krang add-on for generating robot-friendly sitemaps to aid in Search Engine Optimization. SiteMap is designed to be easily integrated into existing Krang element libraries with minimal work. From the

Re: Method Handler not working

2004-07-22 Thread Perrin Harkins
On Thu, 2004-07-22 at 12:06, MARTIN MOSS wrote: There are no differences in code http.conf between the working machines, only OS versions. Okay, if the code and conf are the same, and method handlers are enabled as you told me off-list (don't do that), then I'm kind of at a loss. Is it the

RE: mod_perl regex conundrum

2004-07-22 Thread Perrin Harkins
On Thu, 2004-07-22 at 10:40, Simon Miner wrote: I ended up modifying our code so that it skips the regex I sent in my previous message on most requests. This circumvents the biggest part of our slow down, but it isn't completely solving the problem. We're still seeing code sluggishness on

Re: mod_perl regex conundrum

2004-07-22 Thread Stas Bekman
Simon Miner wrote: [...] We found most of these approaches by looking in Practical mod_perl and the mod_perl Developer's Cookbook. Are there any other suggestions that folks on the mailing list can offer us as we continue to troubleshoot this issue? If you can pinpoint the chunks of code that you

Re: [mp2] netbsd 1.6.2, perl 5.8.4, apache 2.0.50, mod_perl 1.99_14 make test fails

2004-07-22 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Hi everybody, NetBSD-1.6.2, Apache-2.0.50, perl-5.8.4, mod_perl-1.99_14, standard istall from pkgsrc: Failed Test Stat Wstat Total Fail Failed List of Failed ---

RPM of apache with static mod_perl and mod_ssl

2004-07-22 Thread Christopher Hicks
Is anyone publicly maintaining a current apache (1.3 or 2.0) with a static mod_perl and mod_ssl? I've searched and not found such a thing. It would seem that it /should/ exist, but I haven't run across it. Does anyone have any pointers I'm missing? -- /chris -- Report problems:

Re: Can't set or modify ssl apache environment variables for user certificates

2004-07-22 Thread Stas Bekman
richard dinh wrote: Hello, I am running Apache 2.0.49 with mod_perl, mod_ssl, on Windows 2000. The problem that I am trying to solve is to take a user's certificate, find out that information, and rewrite that information in the Apache Environment table. When the page I have finally loads, the

[Fwd: ApacheCon US 2004: Call for Papers deadline extended!]

2004-07-22 Thread Stas Bekman
Let those modperl talk proposals come in en masse! Original Message Subject: ApacheCon US 2004: Call for Papers deadline extended! Date: Thu, 22 Jul 2004 18:32:06 +0200 From: Lars Eilebrecht [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED],

Re: Can't set or modify ssl apache environment variables for user certificates

2004-07-22 Thread richard dinh
Why do you think you can do that at all? You can lookup, yes, but modify? Please correct me if I'm wrong. -- I don't know if it is possible. But I need to be able to change the values. What the rest my code does is get user cert, check against directory for a valid cert, check against

Re: Can't set or modify ssl apache environment variables for user certificates

2004-07-22 Thread Stas Bekman
richard dinh wrote: Why do you think you can do that at all? You can lookup, yes, but modify? Please correct me if I'm wrong. -- I don't know if it is possible. But I need to be able to change the values. What the rest my code does is get user cert, check against directory for a valid cert,

libapreq2 upload gotcha

2004-07-22 Thread John Williams
I've been having problems getting uploads to work using libapreq2-2.03_04-dev. I finally have it working, but I thought I would post my story for the benefit of others. Originally I was doing the upload like this: my $bb = $r-upload('file')-bb(); open(OUT,/tmp/test_file);

Re: Method Handler not working

2004-07-22 Thread MARTIN MOSS
I'm not sure, is there a way to find out what options apache has been built with? There are no differences in code http.conf between the working machines, only OS versions. MartyPerrin Harkins [EMAIL PROTECTED] wrote: On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on

Re: Method Handler not working

2004-07-22 Thread Michael
Perrin Harkins wrote: On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on machines running the same code (mirrored in the same way as the redhat box), it works perfectly fine. Has anybody seen this type of error before, is it the symptom of some other issue that I've missed

Re: Method Handler not working

2004-07-22 Thread MARTIN MOSS
Michael [EMAIL PROTECTED] wrote:Perrin Harkins wrote: On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on machines running the same code (mirrored in the same way as the redhat box), it works perfectly fine. Has anybody seen this type of error before, is it the

Re: Method Handler not working

2004-07-22 Thread Michael
MARTIN MOSS wrote: Michael [EMAIL PROTECTED] wrote:Perrin Harkins wrote: On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on machines running the same code (mirrored in the same way as the redhat box), it works perfectly fine. Has anybody seen this type of error before, is

Re: libapreq2 upload gotcha

2004-07-22 Thread Joe Schaefer
John Williams [EMAIL PROTECTED] writes: [...] Request for libapreq2 developers: Could you please either remove or document this gotcha? The gotcha here is really a generic issue (ie working with bucket brigades through the APR:: modules) so maybe it is (or needs to be) addressed in the mp2

Re: libapreq2 upload gotcha

2004-07-22 Thread Stas Bekman
John Williams wrote: I've been having problems getting uploads to work using libapreq2-2.03_04-dev. I finally have it working, but I thought I would post my story for the benefit of others. Originally I was doing the upload like this: my $bb = $r-upload('file')-bb();

Re: libapreq2 upload gotcha

2004-07-22 Thread Joe Schaefer
Stas Bekman [EMAIL PROTECTED] writes: [...] Interesting. What's the type of the bucket? Is that a file bucket? I believe so. File buckets morph into two buckets when you read from them. The current bucket transforms into a heap bucket, and a new file bucket is inserted behind *it*.

Re: libapreq2 upload gotcha

2004-07-22 Thread Joe Schaefer
Stas Bekman [EMAIL PROTECTED] writes: [...] Moving $b-remove to the end makes the code horribly kludgy. It's better to change the idiom to step through the buckets instead of removing them. Adjusting John's sample code: my $bb = $r-upload('file')-bb();

Re: libapreq2 upload gotcha

2004-07-22 Thread Stas Bekman
Joe Schaefer wrote: Stas Bekman [EMAIL PROTECTED] writes: [...] Moving $b-remove to the end makes the code horribly kludgy. It's better to change the idiom to step through the buckets instead of removing them. Adjusting John's sample code: my $bb = $r-upload('file')-bb();

startup.pl file not working

2004-07-22 Thread David Arnold
All, I have this in conf/httpd.conf: # Startup File: PerlRequire /home/darnold/modperl/startup.pl And: [EMAIL PROTECTED] apache]# cat /home/darnold/modperl/startup.pl # File: startup.pl use lib qw(/home/darnold/modperl/); 1; However, I am getting this in my error log: Can't locate

Adding more locations to INC in startup.pl

2004-07-22 Thread David Arnold
All, Is this OK? # File: startup.pl use lib qw(/home/darnold/modperl/); use lib qw(/usr/local/apache/module/); 1; Where I've mkdir the module directory in /usr/local/apache. Can't test at the moment until I figure out my last question. Thanks. -- Report problems:

Re: startup.pl file not working

2004-07-22 Thread Tom Schindl
Hi, Is Apache allowed to change into this directory/read the file, try to move it to e.g. /tmp and see if it works. You could also insert a print-Statement and you should see the output on the console when apache is started (stop/start not restart). I'm not sure but I think a restart will not

Re: Adding more locations to INC in startup.pl

2004-07-22 Thread Tom Schindl
Yes. David Arnold wrote: All, Is this OK? # File: startup.pl use lib qw(/home/darnold/modperl/); use lib qw(/usr/local/apache/module/); 1; Where I've mkdir the module directory in /usr/local/apache. Can't test at the moment until I figure out my last question. Thanks. Reclaim Your Inbox!

Re: libapreq2 upload gotcha

2004-07-22 Thread Joe Schaefer
Stas Bekman [EMAIL PROTECTED] writes: Joe Schaefer wrote: Stas Bekman [EMAIL PROTECTED] writes: [...] Moving $b-remove to the end makes the code horribly kludgy. It's better to change the idiom to step through the buckets instead of removing them. Adjusting John's sample code:

cvs commit: modperl/Apache Apache.pm

2004-07-22 Thread stas
stas2004/07/22 12:56:26 Modified:Apache Apache.pm Log: pod typo Revision ChangesPath 1.76 +1 -1 modperl/Apache/Apache.pm Index: Apache.pm === RCS file:

cvs commit: modperl-2.0/t/response/TestAPI request_rec.pm

2004-07-22 Thread stas
stas2004/07/22 14:41:46 Modified:t/response/TestAPI request_rec.pm Log: better $r-method_number and $r-allowed tests Revision ChangesPath 1.21 +12 -4 modperl-2.0/t/response/TestAPI/request_rec.pm Index: request_rec.pm