[mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
Hi List, I've spent the last several hours trying to figure out the following error message that I receive with Apache 1.3.29 and mod_perl 1.29: /usr/local/apache/bin/httpd: relocation error: /usr/local/apache/bin/httpd: undefined symbol: PL_dowarn bin/apachectl start: htt

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread Stas Bekman
William McKee wrote: Hi List, I've spent the last several hours trying to figure out the following error message that I receive with Apache 1.3.29 and mod_perl 1.29: /usr/local/apache/bin/httpd: relocation error: /usr/local/apache/bin/httpd: undefined symbol: PL_dowarn bin/

[mp2] Using MP2 to rewrite URLs based on POST Body data

2004-04-07 Thread Greg Balmer
Hi all,   I have been looking into various ways to achieve a goal of rewriting incomming url's based on the Content of a particular request's POST body.Basically our service has a single access point http://ourhost.com/Service and I want to be able to examine the POSTed (XML) content of re

[mp1] Apache::Symbol and perl Symbol.pm possible clash due to bareword gensym reference

2004-04-07 Thread TGS
I am having problems compiling mod_perl as the following errors report. ... make[1]: Entering directory `/usr/local/perl-cpan/build/mod_perl-1.29/Symbol' Running Mkbootstrap for Apache::Symbol () chmod 644 Symbol.bs rm -f ../blib/arch/auto/Apache/Symbol/Symbol.so LD_RUN_PATH="" gcc -shared -L/us

Re: [mp2] Using MP2 to rewrite URLs based on POST Body data

2004-04-07 Thread Joe Schaefer
"Greg Balmer" <[EMAIL PROTECTED]> writes: [...] > Basically our service has a single access point > http://ourhost.com/Service and I want to be able to examine the POSTed > (XML) content of requests for keywords in the body and rewrite the > incomming url as follows - > > Request BODY : ".

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
On Wed, Apr 07, 2004 at 12:39:33AM -0700, Stas Bekman wrote: > William, why do you check a binary, which is not the one that you get > the error from? You need to check /usr/local/apache/bin/httpd instead. > (of course it could be the same binary, but still...) Because I thought it was the same

Re: modifying request content

2004-04-07 Thread Tom Schindl
As far as I know not but you could pass information using $r->pnotes(), maybe you could also use my $apr = Apache::Request->instance($r); In all modules in the chain and use $apr->param() to set/reset different things. Tom dorian wrote: is there any way currently to take the content of a requ

[MP2] Output occasionally corrupt

2004-04-07 Thread Thomas Hilbig
I have been trying to get rid of this problem for over a year -- HTTP and mod_perl upgrades haven't helped. My CGI programs occasionally screws up its output by a couple of bytes. I'd say it happens once every ten-twenty times. It is normally not noticeable unless it effects a hyper-link, data o

Hidden message

2004-04-07 Thread dougm
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: modifying request content

2004-04-07 Thread Stas Bekman
Tom Schindl wrote: As far as I know not but you could pass information using $r->pnotes(), maybe you could also use my $apr = Apache::Request->instance($r); In all modules in the chain and use $apr->param() to set/reset different things. libapreq2 will provide such a service (reusable request d

Re: [mp1] Apache::Symbol and perl Symbol.pm possible clash due to bareword gensym reference

2004-04-07 Thread Stas Bekman
TGS wrote: I am having problems compiling mod_perl as the following errors report. ... make[1]: Entering directory `/usr/local/perl-cpan/build/mod_perl-1.29/Symbol' Running Mkbootstrap for Apache::Symbol () chmod 644 Symbol.bs rm -f ../blib/arch/auto/Apache/Symbol/Symbol.so LD_RUN_PATH="" gcc -s

Re: modifying request content

2004-04-07 Thread dorian
On Wed, Apr 07, 2004 at 05:08:51PM +0200, Tom Schindl wrote: > As far as I know not but you could pass information using $r->pnotes(), > maybe you could also use > > my $apr = Apache::Request->instance($r); > > In all modules in the chain and use $apr->param() to set/reset different > things.

Re: [MP2] Output occasionally corrupt

2004-04-07 Thread Stas Bekman
Thomas Hilbig wrote: I have been trying to get rid of this problem for over a year -- HTTP and mod_perl upgrades haven't helped. My CGI programs occasionally screws up its output by a couple of bytes. I'd say it happens once every ten-twenty times. It is normally not noticeable unless it effects

Uploading a Directory's Contents

2004-04-07 Thread Sasan Dashtinezhad
Hi folks, I have a question that can be answered in different ways. I need the user to be able to select a local direcotry, and then have the contents of that directory uploaded to the web server. The question is how can this be done using HTML and mod-perl. Thanks in advance for any ideas! C

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread Stas Bekman
William McKee wrote: On Wed, Apr 07, 2004 at 12:39:33AM -0700, Stas Bekman wrote: William, why do you check a binary, which is not the one that you get the error from? You need to check /usr/local/apache/bin/httpd instead. (of course it could be the same binary, but still...) Because I thought

Re: modifying request content

2004-04-07 Thread Perrin Harkins
On Wed, 2004-04-07 at 13:04, dorian wrote: > On Wed, Apr 07, 2004 at 05:08:51PM +0200, Tom Schindl wrote: > > As far as I know not but you could pass information using $r->pnotes(), > > maybe you could also use > > > > my $apr = Apache::Request->instance($r); > > > > In all modules in the chain

Re: Uploading a Directory's Contents

2004-04-07 Thread Perrin Harkins
On Wed, 2004-04-07 at 13:34, Sasan Dashtinezhad wrote: > I have a question that can be answered in different ways. I need the > user to be able to select a local direcotry, and then have the contents > of that directory uploaded to the web server. The question is how can > this be done using HTM

Re: Uploading a Directory's Contents

2004-04-07 Thread Stas Bekman
Sasan Dashtinezhad wrote: Hi folks, I have a question that can be answered in different ways. I need the user to be able to select a local direcotry, and then have the contents of that directory uploaded to the web server. The question is how can this be done using HTML and mod-perl. Thanks in

Re: modifying request content

2004-04-07 Thread dorian
> > i'm actually really early on in this project, and could switch over to > > apache/mod_perl 2 without much fuss and use an input filter. > > That would probably be best if it truly has to be transparent and you > need to modify content and not just args. yes, as long as i can trap the entire r

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Tuesday 06 April 2004 08:20 pm, Stas Bekman wrote: > Beau E. Cox wrote: > > On Tuesday 06 April 2004 05:36 pm, Stas Bekman wrote: > >>Beau E. Cox wrote: > >>>On Tuesday 06 April 2004 06:27 am, Stas Bekman wrote: > Beau E. Cox wrote: > >-8<-- Start Bug Report -

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Stas Bekman
Beau E. Cox wrote: So it's not linking against libperl.so, which probably means that it relies on mod_perl to load it. But I'm not sure whether your swapping test was right. The thing is: 'make test' overwrites t/conf/httpd.conf after you change it. So you need to do the following: t/TEST -conf #

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Gerald Richter
> So it's not linking against libperl.so, which probably means that it > relies on mod_perl to load it. Yes, because loading Embperl into Apache without loading mod_perl first doesn't make any sense because Embperl relies on mod_perl. And as I see, this was the solution to the problem. Gerald

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Wednesday 07 April 2004 04:02 am, Gerald Richter wrote: > > So it's not linking against libperl.so, which probably means that it > > relies on mod_perl to load it. > > Yes, because loading Embperl into Apache without loading mod_perl first > doesn't make any sense because Embperl relies on mod_p

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Tuesday 06 April 2004 09:27 pm, Stas Bekman wrote: > Beau E. Cox wrote: > >>So it's not linking against libperl.so, which probably means that it > >>relies on mod_perl to load it. But I'm not sure whether your swapping > >>test was right. The thing is: 'make test' overwrites t/conf/httpd.conf >

Apache::DB ported to mp2

2004-04-07 Thread Frank Wiles
Hi Everyone, I've ported Apache::DB to work with mp1 and mp2. I've done some initial testing, but would appreciate anyone interested to give it a whirl. Let me know if you run into any problems. Note that I haven't ported Apache::DProf or Apache::SmallProf yet, but plan on doin

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
On Wed, Apr 07, 2004 at 10:37:15AM -0700, Stas Bekman wrote: > And that's your problem. It picks the wrong perl library. Move it somewhere > out of /usr/lib and rebuild again, and it'll probably be fine. What is that > libperl.so? I didn't consider that route. > Your real libperl.so if any tha

Re: sections: "*:80 has no VirtualHosts" error

2004-04-07 Thread Will Trillich
On Tue, Apr 06, 2004 at 12:10:08PM -0700, Philippe M. Chiasson wrote: > On Mon, 2004-04-05 at 12:14 -0500, Will Trillich wrote: > > okay. we're trying to use to configure virtual hosts -- here's > > Data::Dumper showing the %VirtualHost hash: > > At a quick glance, you most certainly must have me

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread Stas Bekman
William McKee wrote: Having libperl.so in /usr/lib/ is a great reason for lots of obscure problems, when you have one more perl installed elsewhere. That's why perl puts its libperl.so under its private tree. But some distros play it smart... Yep that was the root of the problem. Apparently D

Weird CGI Caching problem

2004-04-07 Thread Jeremy Silva
I'm having a problem with Mod_perl 2.0 that I cannot seem to find any help on. I found some help on Mod Perl's caching (http://bulknews.net/lib/mod_perl_guide/porting.html) and tested some of his scripts. I was having some problems in some of my conversions, so I decided to modify his scripts

Problem with modperl2/apache2/apreq2 upload

2004-04-07 Thread Ken Burcham
Guruiers,   I've been reading and trying things all day to no avail which usually means I'm doing something stupid.  I have a perl apache module running under Apache 2.0.48/Mod_perl 1.99_13/libapreq2.02_02 and I'm trying to take a file upload.    I'm getting a segfault whenever I call $r

Re: [MP2] Output occasionally corrupt

2004-04-07 Thread Thomas Hilbig
It's very reproducible and occurs when there is no other server activity. I have built and tested a small CGI script to dump pages of vertical lines. Then I use another Perl script (run locally or from another machine) to pull the page and run an MD5 hash against the contents to catch the bug. T

Re: Weird CGI Caching problem

2004-04-07 Thread Perrin Harkins
On Wed, 2004-04-07 at 17:03, Jeremy Silva wrote: >use CGI; >my $counter; >my $cgi; >sub run{ > print "Content-type: text/plain\r\n\r\n"; > print "HERE"; > > $counter = 0; > $cgi=null; You don't need to do this. Just pass the CGI object to your sub: m

Re: [MP2] Output occasionally corrupt

2004-04-07 Thread Stas Bekman
Thomas Hilbig wrote: It's very reproducible and occurs when there is no other server activity. I have built and tested a small CGI script to dump pages of vertical lines. Then I use another Perl script (run locally or from another machine) to pull the page and run an MD5 hash against the contents

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Stas Bekman
Beau E. Cox wrote: On Tuesday 06 April 2004 09:27 pm, Stas Bekman wrote: Beau E. Cox wrote: So it's not linking against libperl.so, which probably means that it relies on mod_perl to load it. But I'm not sure whether your swapping test was right. The thing is: 'make test' overwrites t/conf/httpd.

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Stas Bekman
I guess Apache::Test cannot parse httpd.conf continuation syntax. Probably. Patches to fix that are welcome, Beau. But if I fix that, I negate my current work-around ;) That's hiding the problem, not fixing it ;) Yes, so true. Guilty :( If it's too hard, don't worry, let me know and I'll

Re: [MP2] Output occasionally corrupt

2004-04-07 Thread Stas Bekman
Thomas, please keep the thread on the list. thanks. Thomas Hilbig wrote: > It's reproducible, but intermittent -- I ran it three > times (90 pulls total) and had 2 bad hashes. I > haven't done a bug report as I was hoping it was an > simple configuration problem. I don't know if the > problem is

[mp2] rflush failed test w/ Mandrake 9.2

2004-04-07 Thread Gary C. New
Stas, You may have seen my post on the mod_perl list about rflush failed test with MP2. I'm using Mandrake 9.2 and I heard that you use Mandrake with your mod_perl install. Could you give me a brief synopsis of your mod_perl-2.0 setup on Mandrake? I'm trying to build MP2 against Mandrake's s

Re: [mp2] rflush failed test w/ Mandrake 9.2

2004-04-07 Thread Stas Bekman
Hi Gary, You may have seen my post on the mod_perl list about rflush failed test with MP2. Wasn't it resolved already? I thought you reported success. I'm using Mandrake 9.2 and I heard that you use Mandrake with your mod_perl install. Could you give me a brief synopsis of your mod_perl-2.0

Re: Problem with modperl2/apache2/apreq2 upload

2004-04-07 Thread Joe Schaefer
"Ken Burcham" <[EMAIL PROTECTED]> writes: > I've been reading and trying things all day to no avail which > usually means I'm doing something stupid. I have a perl apache > module running under Apache 2.0.48/Mod_perl > 1.99_13/libapreq2.02_02 and I'm trying to take a file upload. > > I'

Re: Problem with modperl2/apache2/apreq2 upload

2004-04-07 Thread Ken Burcham
> That's certainly supposed to work, assuming 'somefilename' is > the name of the upload widget in your HTML form. Can you post > a backtrace for the segfault? Sure... umm... how do I do that?  :) I'm still pretty new to perl.  > > That is correct.  In apache1 the uploads formed a linked

Re: [mp1] Apache::Symbol and perl Symbol.pm possible clash due to bareword gensym reference

2004-04-07 Thread TGS
Perfect! Cleaning up the path worked wonders. on 4/07/2004 1:02 PM, Stas Bekman at [EMAIL PROTECTED] wrote: > TGS wrote: >> I am having problems compiling mod_perl as the following errors report. >> >> ... >> make[1]: Entering directory >> `/usr/local/perl-cpan/build/mod_perl-1.29/Symbol' >> Run

[JOB] mod_perl Programmer Mission Viejo, CA

2004-04-07 Thread David Ranney
IntelliSurvey, Inc. programs and hosts online surveys for a variety of clients in the market research industry. We offer both software licensing via an ASP model for our do-it-yourself clients, and we program surveys using our own software on a project-by-project basis for clients who would rat