Re: Seg Fault (11)

2000-08-05 Thread Bill Jones
From: Dave Moore [EMAIL PROTECTED] no errors during build: Apache/1.3.12 (Unix) secured_by_Raven/1.5.1 mod_perl/1.24 PHP/4.0.1pl2 However, trying to use mod_perl's DSO causes Seg Fault (11) mod_perl and php4 dont mix well together, there has been a few posts about this in the past. try

Re: ignore header_only()?

2000-08-05 Thread Matt Sergeant
On Fri, 4 Aug 2000, Ken Fox wrote: I was using $request-sent_header and found out that it's not terribly useful if PerlSendHeader is off -- sent_header always returns 1. I changed mod_perl_sent_header so that it returns 0, 1 or 2: 0 - headers have not been sent (PerlSendHeader on)

Hi! anyone there???

2000-08-05 Thread Jitesh Kumar
Hi, I am jitesh. Recently joined the list. Would like to say hello to all out there. jitesh

fake browser

2000-08-05 Thread Issam W. Alameh
Hello, I don't know where to go with this question, may be somebody can help here, I have written a small program to simulate login to a site, but the site is trying to find out if the browser accessing it accepts cookies or not, and I wanted to know how to fake this, i.e. how to tell the

Apache::ASP Response Redirect question

2000-08-05 Thread Rod Butcher
Can anybody please tell me whether the following internal redirect causes the new URL to be sent back to the browser which then asks for foo.htm to be served up, or does Apache simply serve up foo.htm automatically ? The comments in ASP.PM are very cryptic. $Response-Redirect("foo.htm") Or is

Re: Apache::ASP Response Redirect question

2000-08-05 Thread G.W. Haywood
Hi there, On Sun, 6 Aug 2000, Rod Butcher wrote: Can anybody please tell me whether the following internal redirect causes the new URL to be sent back to the browser which then asks for foo.htm to be served up, or does Apache simply serve up foo.htm automatically ? I'll field this one

Re: Apache::PerlVINC makes Apache segfault

2000-08-05 Thread Patrick
[Cc to Stas as the example in the guide is wrong, and Dave explains the correct way] On Mon, Jul 31, 2000 at 03:42:18PM -0400, Dave Moore took time to write: duh...now that i've had some more coffee...the line: PerlVersionINC On must come before the PerlINC statement. PerlINC wont store

Re: Apache::PerlVINC makes Apache segfault

2000-08-05 Thread Stas Bekman
[Cc to Stas as the example in the guide is wrong, and Dave explains the correct way] On Mon, Jul 31, 2000 at 03:42:18PM -0400, Dave Moore took time to write: duh...now that i've had some more coffee...the line: PerlVersionINC On must come before the PerlINC statement.

Re: ignore header_only()?

2000-08-05 Thread Eric Cholet
Ken Fox wrote: I was using $request-sent_header and found out that it's not terribly useful if PerlSendHeader is off -- sent_header always returns 1. I changed mod_perl_sent_header so that it returns 0, 1 or 2: 0 - headers have not been sent (PerlSendHeader on) 1 - headers

Re: follow-up: very strange bug w/ tainting

2000-08-05 Thread G.W. Haywood
Hi there, On Wed, 26 Jul 2000, Alex Algard wrote: More strange stuff [snip] FYI, Test.pm is just an empty file, so it certainly shouldn't cause any harm. A couple of months ago I had a problem where a *very* simple script would crash Apache 1.3.12/modperl 1.24 no matter what I did. In the

Re: ignore header_only()?

2000-08-05 Thread Ken Williams
Ken Fox wrote: I was using $request-sent_header and found out that it's not terribly useful if PerlSendHeader is off -- sent_header always returns 1. I changed mod_perl_sent_header so that it returns 0, 1 or 2: 0 - headers have not been sent (PerlSendHeader on) 1 - headers have not

Re: error from modper ??

2000-08-05 Thread G.W. Haywood
Hi there, On Fri, 4 Aug 2000, Aaron Patterson wrote: Try restarting apache. Try reading your code instead. Things like opening files without being careful to specify the full pathname can cause this kind of stuff. A script works while you're testing from the command line, but when it runs

Re: On the fly do (require)

2000-08-05 Thread G.W. Haywood
Hi there, On Wed, 26 Jul 2000 [EMAIL PROTECTED] wrote: I got some problem migrating me CGI to mod_perl. I do not know if I understand your question, but you could try looking at Apache::Registry to get your CGI scripts to work under mod_perl. Also look at http://perl.apache.org/guide 73,

Re: Apache::ASP Response Redirect question

2000-08-05 Thread Joshua Chamas
"G.W. Haywood" wrote: Hi there, On Sun, 6 Aug 2000, Rod Butcher wrote: Can anybody please tell me whether the following internal redirect causes the new URL to be sent back to the browser which then asks for foo.htm to be served up, or does Apache simply serve up foo.htm

Help Embperl

2000-08-05 Thread Jeff Smelser
I got EMbperl to compile. It when I did make test, everything went great. OK's down the line. I set up apache with: Location /perl/ SetHandler perl-script PerlHandler HTML::Embperl /Location This is what apache says when I restarted it: [10843]ERR: 25: Line 1: Error [Sat Aug 5 16:10:00

ANNOUNCE: mod_perl Guide v. 1.25

2000-08-05 Thread Stas Bekman
The uploaded file Apache-mod_perl_guide-1.25.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/Apache-mod_perl_guide-1.25.tar.gz size: 520586 bytes md5: 7b1d0c0022139936b6b6e47cb295 The online version is at http://perl.apache.org/guide/ The PDF version is at

Re: ignore header_only()?

2000-08-05 Thread Ken Fox
Ken Williams wrote: I know it was ages ago when you sent this patch, but what's the rationale for having $r-sent_header() return 1 when it hasn't sent the header? I didn't want to break anything. I'm hoping that people using sent_header are just checking for true, not for 1. (That's the way

RE: Help Embperl

2000-08-05 Thread Jason Bodnar
Please send the file for the url you're getting the error with. On 05-Aug-2000 Jeff Smelser wrote: I got EMbperl to compile. It when I did make test, everything went great. OK's down the line. I set up apache with: Location /perl/ SetHandler perl-script PerlHandler HTML::Embperl

problem with DBD::Oracle and so

2000-08-05 Thread me
i know this is been discussed before.. but i could not easily find them in the archive.. I always get the following err: Can't load '/perl5.6.0/lib/site_perl/5.6.0/i686-linux/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.8.0: cannot open shared object file: No such file or

RE: Help Embperl

2000-08-05 Thread Jeff Smelser
No problem: HTML HEAD TITLEJeff's Stock Page /TITLE /HEAD BODY [$ if $ENV{REQUEST_METHOD} eq 'GET' $] This is a GET request [$ elsif $ENV{REQUEST_METHOD} eq 'POST' $] This is a POST request [$ else $] This is not GET and not POST [$ endif $] /BODY /HTML Thanks, Jeff On

ANNOUNCE: Apache::ASP v2.03

2000-08-05 Thread Joshua Chamas
Hey, Big changes for Apache::ASP! GPL licensing and the new http://www.apache-asp.org web site. A lot of consideration went behind GPL, and I know there are pros cons to any license. Note I will be gone on vacation for a couple weeks so hopefully others on the list will be able to pick