cvs commit: modperl-2.0/lib/Apache Status.pm

2003-02-03 Thread stas
stas2003/02/03 23:00:52 Modified:lib/Apache Status.pm Log: of course we don't have 2.00 yet, use 1.99 Revision ChangesPath 1.6 +1 -4 modperl-2.0/lib/Apache/Status.pm Index: Status.pm

[MP2] $r-get_client_block does not read all data

2003-02-03 Thread Udo Rader
hi, I've been trying to post this error before, but somehow it did not make it to the list, so I'm trying once again ... As I saw, the new 1.99_08 version of mod_perl has $r-read fixed now to correctly read the given bytes.

$^T

2003-02-03 Thread H Jayakumar
hi all, In windows mod_perl-beta2 print $^T; returns the same value again and again, Also my $t = $^T; print $t; does not help any comments ? Thanks,

Use DBI in http.conf

2003-02-03 Thread Wes Cravens
Has anyone any information on success/horror stories for using DBI in apache config files. I have a number of PerlModule Library::Module Location '/Module' SetHandler Perl-Script PerlHandler Library::Module /Location Type configs. I can very easily extract this information from a

Weird mod_perl, mod_proxy, content-length, IE

2003-02-03 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Running: Apache/1.3.14 (Win32) mod_perl/1.27_01-dev I've been setting up my first proxy by following the instructions in the Mod_perl Guide: all seems well, except that I'm getting a little bit of weird output in addition to the expected. This

Re: Weird mod_perl, mod_proxy, content-length, IE

2003-02-03 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 I forgot to add that this happens with and without a call to the send_http_header method. lee On Monday, February 3, 2003 at 2:11:59 PM, you wrote: LG Running: Apache/1.3.14 (Win32) mod_perl/1.27_01-dev LG I've been setting up my first proxy by

Re: Use DBI in http.conf

2003-02-03 Thread Perrin Harkins
Wes Cravens wrote: I have a number of PerlModule Library::Module Location '/Module' SetHandler Perl-Script PerlHandler Library::Module /Location Type configs. I can very easily extract this information from a database. Or you could use Apache::Dispatch, or you could put them in a

Re: $^T

2003-02-03 Thread Perrin Harkins
H Jayakumar wrote: In windows mod_perl-beta2 print $^T; returns the same value again and again That is correct behavior. The $^T variable contains the time that the current program (i.e. apache) started running. If you want the current time, use time() instead. -

coredump with 3 PerlSetVars

2003-02-03 Thread Hann, Brian
Title: Message Can anyone tell me why Apache would dump core when more than 2 PerlSetVars are used in a Location directive? This is Stronghold 2.4.2, Apache 1.3.6 and mod_perl 1.21 Brian Hann

Re: coredump with 3 PerlSetVars

2003-02-03 Thread wsheldah
Apache 1.3.6 is ancient, has numerous known bugs and security exploits. Same for mod_perl 1.21. Update to apache 1.3.27 and I think mod_perl 1.27, see if it still happens. Wes Hann, Brian [EMAIL PROTECTED] on 02/03/2003 11:43:23 AM To:[EMAIL PROTECTED] cc: Subject:coredump with 3

RE: coredump with 3 PerlSetVars

2003-02-03 Thread Hann, Brian
I wish that was an option, but unfortunately it's not due to the extreme amount of applications we would have to test and we don't have the manpower or time for that. I actually think the REAL problem is some sort of spacing/whitespace issue in the conf file. I'm going to test a few more things

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread George Savvides
Hi Lee, Thanks for your reply. I tried the script you sent and it failed with document contains no data. This is odd because I previously found that mod_perl API scripts ran ok but CGI scripts running under mod_perl failed. The script printed some output in the log which I have attached below.

Re[2]: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi George, On Monday, February 3, 2003 at 10:47:47 PM, you wrote: GS Hi Lee, GS Thanks for your reply. I tried the script you sent and it failed GS with document contains no data. This is odd because I GS previously found that mod_perl API scripts

Re: $^T

2003-02-03 Thread Stas Bekman
Perrin Harkins wrote: H Jayakumar wrote: In windows mod_perl-beta2 print $^T; returns the same value again and again That is correct behavior. The $^T variable contains the time that the current program (i.e. apache) started running. If you want the current time, use

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread Stas Bekman
Lee Goddard wrote: [...] I don't know: you're doing this: print Content-type: text/plain\n\n; print Hello World\n; Does it (probably not) make any difference if you do a full CRLF, as perldoc perlop: For example, most networking protocols expect and prefer a CR+LF (\015\012 or

Re: coredump with 3 PerlSetVars

2003-02-03 Thread dorian
On Mon, Feb 03, 2003 at 11:16:25AM -0600, Hann, Brian wrote: I wish that was an option, but unfortunately it's not due to the extreme amount of applications we would have to test and we don't have the manpower or time for that. of course, by posting to this list, you have just made any