Re: Apache::Request vs Apache->request

2004-01-27 Thread Clayton Cottingham
thanks for the reply here is something strange. i cant figure out based on all this, under mod perl 1 Apache/1.3.29 on FreeBSD devserver.ppw 5.1-RELEASE below is a small piece of my module the 'parsefile' subroutine *does not* print out %args, i dont understand why not can someone explain? **

Re: 'make test' fails to start server.

2004-01-27 Thread Stas Bekman
konsu wrote: thank you for responding. below is the output. t/TEST does not seem to take account of the timeout parameter. still uses the default value. That's a bug. The fix is below (will be in cvs shortly) but i think it does not matter because my server is not overloaded at all. it is a dev

Re: 'make test' fails to start server.

2004-01-27 Thread konsu
thank you for responding. below is the output. t/TEST does not seem to take account of the timeout parameter. still uses the default value. but i think it does not matter because my server is not overloaded at all. it is a dev machine. i also included the log file (i was wrong when i said that it

Re: [ANNOUNCE] Apache::AuthCookie 3.05

2004-01-27 Thread Michael J Schout
On Tue, 27 Jan 2004, Stas Bekman wrote: > So should it be added to: > http://perl.apache.org/products/apache-modules.html#Ported_3rd_party_Modules Yes Stas. Please add it to the list. Thanks! Regards, Michael Schout GKG.NET, Inc. -- Hal 9000 - "Put down those Windows disks Dave Dave? DA

Re: [mp2] $r->construct_url

2004-01-27 Thread Beau E. Cox
On Tuesday 27 January 2004 05:25 pm, Stas Bekman wrote: > Beau E. Cox wrote: > > Hi - > > > > -8<-- Start Bug Report 8<-- > > 1. Problem Description: > > > > I am having a really strange problem in mod_perl. The following > > simple test handler: > > > > #fil

Re: [mp2] $r->construct_url

2004-01-27 Thread Stas Bekman
Beau E. Cox wrote: Hi - -8<-- Start Bug Report 8<-- 1. Problem Description: I am having a really strange problem in mod_perl. The following simple test handler: #file:MyApache/HappyFunBall.pm # - package MyApache::HappyFunBall; use strict

[mp2] $r->construct_url

2004-01-27 Thread Beau E. Cox
Hi - -8<-- Start Bug Report 8<-- 1. Problem Description: I am having a really strange problem in mod_perl. The following simple test handler: #file:MyApache/HappyFunBall.pm # - package MyApache::HappyFunBall; use strict; use warnings; u

Re: Search Bot

2004-01-27 Thread Josh Chamas
Shawn wrote: Hi, I have been trying to figure out a way to limit the massive amount of bandwidth that search bots (Googlebot/2.1) consume daily from my website. My problem is that I am running Apache::ASP and about 90% of the site is dynamic content, links such as product.htm?id=100. The dynami

Re: Apache::Request vs Apache->request

2004-01-27 Thread Clayton Cottingham
stas, thanks again, i owe you another espresso! ok it seems there is some sort of disconnect with modperl , the apr->upload and method postm, at least in my brainpan! as the listing are it does not pass the %args to the parseFile or through to the listing 2 subroutine if the $apr and if statemen

Re: New to Apache::AuthenNTLM

2004-01-27 Thread Shannon Eric Peevey
What am I missing? Hi! Could I get the versions of apache, mod_perl and apache-authenntlm? You can use the following link as a guide: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems thanks, speeves cws -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

Re: [ANNOUNCE] Apache::AuthCookie 3.05

2004-01-27 Thread Stas Bekman
Michael Schout wrote: The file Apache-AuthCookie-3.05.tar.gz [...] - rewrote tests to use Apache::Test framework from CPAN. - fix POD errors in authorize() documentation. - initial support for mod_perl version 2 - mp2: check for Apache::RequestRec arg so that unported subclasses

Re: 'make test' fails to start server.

2004-01-27 Thread Stas Bekman
konsu wrote: hello, t/TEST -start failes to start server for some reason. The apache error log file is empty. i am running freebsd 5.1-RELEASE. please help me to resolve this. I know that freebsd 4.8/5.1 won't work with perl built with ithreads, but yours seem not having ithreads enabled. Could

Re: Mod-Perl Logging Errors under RedHat Linux ES 3.0

2004-01-27 Thread Stas Bekman
Kent, Mr. John (Contractor) wrote: Mod-Perl Developers, After sending out my bug report. My system administrator forwarded me this: As this version of the operating system is based on redhat 9 -- from http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/ there is a paragraph

Re: mod_perl won't compile

2004-01-27 Thread Stas Bekman
Mike NoLast wrote: I am trying to build mod_perl-1.99_08 on a RH 9 system. The make errors. Below is my attempt. Can anyone give me an idea of what is wrong and how to fix it?

Re: [mp1] RH9 / apache 1.3.29 / mod_perl 1.29 / perl 5.8.0 segfault

2004-01-27 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Tue, 27 Jan 2004, Matthew Avitable wrote: This one has me stumped. After installing with clean tarballs of apache_1.3.29 and mod_perl-1.29 on a RedHat 9 box, I'm getting a segfault upon making a request. :( >> I'm not executing any perl handler at all - in f

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-27 Thread Elizabeth Mattijsen
At 15:36 -0800 1/27/04, Stas Bekman wrote: Egor Shipovalov wrote: Can I add vhosts with $s->add_config? Something like: $s->add_config( "VirtualHost foo.com:80" ); $s->add_config( "VirtualHost bar.com:80" ); and then do the loop with $s->next? Or am I now stretching the API beyond to what

RE: Debugging with Apache::DB: how to disable unneeded debug output?

2004-01-27 Thread Egor Shipovalov
Perrin, if this is natural to the Perl debugger, why I'm not getting it when debugging ordinary Perl programs? It only happens under mod_perl. I'm suspecting it's an Apache::DB thing, and not being able to turn it off would seem ridiculous to me. Debugging experts anyone? Best regards, Egor Shipo

Re: [MP2] Setting up seperate logs for virtual hosts from a database

2004-01-27 Thread Stas Bekman
Egor Shipovalov wrote: Can I add vhosts with $s->add_config? Something like: $s->add_config( "VirtualHost foo.com:80" ); $s->add_config( "VirtualHost bar.com:80" ); and then do the loop with $s->next? Or am I now stretching the API beyond to what was intended? I once was in your position

Re: Apache::Request vs Apache->request

2004-01-27 Thread Stas Bekman
Clayton Cottingham wrote: thanks for the reply here is something strange. i cant figure out based on all this, under mod perl 1 Apache/1.3.29 on FreeBSD devserver.ppw 5.1-RELEASE below is a small piece of my module the 'parsefile' subroutine *does not* print out %args, i dont understand why not

RE: RE : Handlers vs Perl scripts

2004-01-27 Thread Gary Barnett
Look for quoted strings in the docs. i.e. my $my_name = "Blah"; print qq(\nMy name is $my_name); Note that escaping the " character is not necessary. --Gary -Original Message- From: Hemond, Steve [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 12:45 PM To: [EMAIL PROTECTED]

RE : Handlers vs Perl scripts

2004-01-27 Thread David R. Baird
On 27 Jan 2004 at 15:45, Hemond, Steve wrote: > Could anyone explain me why having perl files like : > > printf (" blahblahb"); > printf ("My name is %s",$name); > > Is a wrong idea? :-) Because that's not all you will have. You will have printf (" blahblahb"); printf ("My name is %s",$name);

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 17:10, Rafael Caceres wrote: > But while 5.8.0 compiles clean (after a LANG=;export LANG), trying to > get 5.8.1, 5.8.2 and 5.8.3 to compile on Red Hat 9 (gcc 3.2.2-5 and > glibc 2.3.2-27.9.7) with: > sh Configure -de > make > make test > > fails on test 17 at lib/Time/Local

[ANNOUNCE] Apache::AuthCookie 3.05

2004-01-27 Thread Michael Schout
The file Apache-AuthCookie-3.05.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.05.tar.gz size: 31025 bytes md5: 4288575a1eedb52b2fb774324cd63ec8 Changes: Version: 3.05 - Fix POD documentation bug (thanks Steve van der Burg) - login(): set Loc

RE: Debugging with Apache::DB: how to disable unneeded debug output?

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 16:05, Egor Shipovalov wrote: > if this is natural to the Perl debugger, why I'm not getting it when > debugging ordinary Perl programs? Because they have shorter sub names. All it's doing is telling you where the code is that it's running. With systems like Mason that eval

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Rafael Caceres
On Tue, 2004-01-27 at 11:24, Perrin Harkins wrote: > > > Seems like a lot of upgrading just to > > go from 5.8.0 to 5.8.1, but I guess a lot of bug fixes > > and enhancements were added. > > There were a few. The one that mattered the most to me is that the > locale issues are fixed so that you

Re: Handlers vs Perl scripts

2004-01-27 Thread Garth Webb
On Tue, 2004-01-27 at 12:45, Hemond, Steve wrote: > Could anyone explain me why having perl files like : > > printf (" blahblahb"); > printf ("My name is %s",$name); > > Is a wrong idea? :-) For one, most HTML pages will probably contain more than one tag and more than two lines of text. Take t

Re: Debugging with Apache::DB: how to disable unneeded debug output?

2004-01-27 Thread Ged Haywood
Hi there, On Tue, 27 Jan 2004, Egor Shipovalov wrote: > I'm debugging my mod_perl/Mason application interactively using Apache::DB. > While everything seem to work as advertised, I get a lot of unneeded console > output from httpd. Looks like it's reporting every subroutine and eval call: > [snip

Re: [mp1] RH9 / apache 1.3.29 / mod_perl 1.29 / perl 5.8.0 segfault

2004-01-27 Thread Ged Haywood
Hi there, On Tue, 27 Jan 2004, Matthew Avitable wrote: > This one has me stumped. After installing with clean tarballs of > apache_1.3.29 and mod_perl-1.29 on a RedHat 9 box, I'm getting a > segfault upon making a request. :( > I searched the archives, and this one looked relatively close i

RE : Handlers vs Perl scripts

2004-01-27 Thread Hemond, Steve
Could anyone explain me why having perl files like : printf (" blahblahb"); printf ("My name is %s",$name); Is a wrong idea? :-) Steve Hemond Programmeur Analyste / Analyst Programmer Smurfit-Stone, Ressources Forestières La Tuque, P.Q. Tel.: (819) 676-8100 X2833 [EMAIL PROTECTED] > -Or

Re: Handlers vs Perl scripts

2004-01-27 Thread David R. Baird
Really, everything you are trying to do is made so much easier in Mason. Have you tried the Mason list for help with your bugs? Embedding html inside perl scripts is not the way to go - it'll get very unwieldy very quickly. If you put most of your functions into modules (eg for db access), t

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 11:16, Mike NoLast wrote: > Thanks. As noted before, that means a major upgrade to > several components (apache, arp, mod_perl, and so on). > I guess I can get those components from Fedora and > give it a whirl. You need to understand that mod_perl 2 is still undergoing signi

'make test' fails to start server.

2004-01-27 Thread konsu
hello,   t/TEST -start failes to start server for some reason. The apache error log file is empty. i am running freebsd 5.1-RELEASE. please help me to resolve this.   konstantin   marina# t/TEST -start *** root mode: changing the files ownership to 'nobody' (65534:65534) *** testing whether

RE: Mod-Perl Logging Errors under RedHat Linux ES 3.0

2004-01-27 Thread Kent, Mr. John (Contractor)
Mod-Perl Developers, After sending out my bug report. My system administrator forwarded me this: As this version of the operating system is based on redhat 9 -- from http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/ there is a paragraph: # A new system message has been

Re: Setting up 'local' perlhandlers

2004-01-27 Thread Geoffrey Young
> I also wouldn't mind installing an implementation of > Apache::ASP which they don't currently have installed > but told me that if I could get it to work locally, I > was welcome to do so. > > Now, I need to remember how to do that. I am assuming > it is going to be an .htaccess thing if their

Re: Handlers vs Perl scripts

2004-01-27 Thread Clayton Cottingham
i use handlers! usually with HTML::Template or XML::LibXML // XML::LibXSLT to handle the content /layout pieces! On Tue, 2004-01-27 at 10:40, Paul Simon wrote: > --- "Hemond, Steve" <[EMAIL PROTECTED]> wrote: > > > > Instead of embedding perl code in html files to > > generate stuff from a > >

Mod-Perl Logging Errors under RedHat Linux ES 3.0

2004-01-27 Thread Kent, Mr. John (Contractor)
-8<-- Start Bug Report 8<-- 1. Problem Description: The mod-perl enabled server seems to be working ok, but is generating error messages (every minute) as reported by our system administrators: The following errors are being reported in /var/log/messages.

Re: Handlers vs Perl scripts

2004-01-27 Thread Paul Simon
--- "Hemond, Steve" <[EMAIL PROTECTED]> wrote: > > Instead of embedding perl code in html files to > generate stuff from a > database, I would just have to write an entire perl > file that will print > the html code (like the example I've shown above) > and do the > manipulations on the database

Re: mod_perl won't compile

2004-01-27 Thread Perrin Harkins
Mike NoLast wrote: Configuring Apache/2.0.40 mod_perl/1.99_08 Perl/v5.8.1 Mike, Please try with the latest releases, i.e. apache 2.0.48 and mod_perl 1.99_011. - Perrin -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: ht

Handlers vs Perl scripts

2004-01-27 Thread Hemond, Steve
Hi again! After taking too much time at debugging my Mason bugs (unsuccessfully) , I decided to abandon the idea of embedding perl code in my web pages. I will setup ONE handler that will only generate a header and a footer on each webpage. I'm not at ease with the idea of having a bunch of handl

Setting up 'local' perlhandlers

2004-01-27 Thread Catherine Lynn Smith
OK, it's been a while since I have had to configure an apache website from a "user's" rather than an "admin's" perspective. I just signed up with an ISP that has apache with perlmod and a whole buncha libs installed. They have most of what I need, but from time to time I like to play with some pe

Re: mod_perl won't compile

2004-01-27 Thread Mike NoLast
--- Reuben Fischman <[EMAIL PROTECTED]> wrote: > Mike, > > are you using the RH installed version of Apache > 2.0? IF so is it 2.0.40? It is []# rpm -qa | grep -i httpd httpd-devel-2.0.40-21.9 httpd-2.0.40-21.9 redhat-config-httpd-1.0.1-18 httpd-manual-2.0.40-21.9 > I've noticed that some of

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Mike NoLast
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, 2004-01-27 at 08:56, Mike NoLast > wrote: > > > rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm > > Don't do that; that version is ancient. Use the > latest. Make your own > RPM if you nee

Re: mod_perl won't compile

2004-01-27 Thread Mike NoLast
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > Mike NoLast wrote: > > Configuring Apache/2.0.40 mod_perl/1.99_08 > Perl/v5.8.1 > > Mike, > > Please try with the latest releases, i.e. apache > 2.0.48 and mod_perl > 1.99_011. > > - Perrin Uhm, OK, perl 5.8.1 forces one to upgrade apache, arp,

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 08:56, Mike NoLast wrote: > rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm Don't do that; that version is ancient. Use the latest. Make your own RPM if you need to. - Perrin -- Reporting bugs: http://perl.apache.org/bu

Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Mike NoLast
I am trying to upgrade perl on a RH 9 Linux system using Fedora src.rpms. I built perl and perl_suid from Fedora 5.8.1 src.rpms without problems and installed same (had to use --force because the CGI's man and other bundle files conflict with t

Re: mod_perl won't compile

2004-01-27 Thread Reuben Fischman
Mike, are you using the RH installed version of Apache 2.0? IF so is it 2.0.40? I've noticed that some of the binaries aren't installed by default, you may need to download and install the httpd-devel RPM as well. What I ended up doing for some of the stuff I was playing with was just grabbing

mod_perl won't compile

2004-01-27 Thread Mike NoLast
I am trying to build mod_perl-1.99_08 on a RH 9 system. The make errors. Below is my attempt. Can anyone give me an idea of what is wrong and how to fix it? [EMAIL PROTECTED