Re: [mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Carl Brewer
Stas Bekman wrote: Carl, can you build Apache w/o mod_perl w/ the rest of the things? Yes, it's just the mod_perl stuff that's barfing. It looks like the mod_perl make install isn't putting the header files into src/includes/. A quick google shows a bunch of relevant hits: http://www.google.ca/

Re: [mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Stas Bekman
Stas Bekman wrote: Carl Brewer wrote: I must be spoilt by apache2 :) RedHat Linux 7.3 on i386, trying to build mod_perl and Also RH 7.3 sounds like a way too old. It's possible that this is why you are having those problems. Just a guess, I haven't read the google result I've quoted in my reply.

Re: [mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Stas Bekman
Carl Brewer wrote: I must be spoilt by apache2 :) RedHat Linux 7.3 on i386, trying to build mod_perl and mod_ssl into apache 1.3.31. Here's what I'm doing : [...] And then make fails : ===> src/modules/perl gcc -I. -I../../include -I../../include/regex -I../../include/../ -DLINUX=22 -DHAVE_SET_D

[mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Carl Brewer
I must be spoilt by apache2 :) RedHat Linux 7.3 on i386, trying to build mod_perl and mod_ssl into apache 1.3.31. Here's what I'm doing : tar -xzf ../apache_1.3.31.tar.gz tar -xzf ../mod_ssl-2.8.19-1.3.31.tar.gz tar -xzf ../mod_perl-1.29.tar.gz cd mod_ssl-2.8.19-1.3.31/ ./configure --with-apache=

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: let me try to write a test and I'll be back to you. I've just committed this test to the modperl-2.0 cvs rep: t/apache/head_request.t t/response/TestApache/head_request.pm please take a look -- __

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Stas Bekman
Stas Bekman wrote: let me try to write a test and I'll be back to you. I get indentical behavior with either of the two methods: my $body = "This is a response string"; #$r->headers_out->{'Content-Length'} = length $body; $r->set_content_length(length $body); $r->print('a'); if the

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Stas Bekman
Boris Zentner wrote: [...] Nothing, I searched for the function, but I did not find it! I know I should use mp2doc, but as I searched for it, I did not think on the tool. I tryed first with perldoc Apache::RequestRec and then I searched http://perl.apache.org/docs/2.0/api/Apache/RequestRec.ht

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Boris Zentner
Hi, Am Sonntag 01 August 2004 18:13 schrieb Stas Bekman: > Does anybody have any statistics on the percentage of HEAD requests vs. > GET? The purpose of HEAD request is not to save your CPU cycles, but to > avoid data transfer which is precisely what Apache 2.0 does, without > making you do the e

apache::session::mysql: layout

2004-08-01 Thread Mark Copper
I created a table "sessions" in my db with columns "id" and "a_session" per the Apache::Session::Store::MySQL pod, in particular, "a_session" is of type text. Everything worked fine but I have a (rather silly) question: Why can't I see the key/value pairs when I simply "select a_session from sess

Re: [mp2] NetBSD-1.6.2 modperl snapshot build error

2004-08-01 Thread Stas Bekman
Randy Kobes wrote: On Sun, 1 Aug 2004, Stas Bekman wrote: [EMAIL PROTECTED] wrote: [ ... ] snapshots used: --- apr-iconv_20040729101255.tar.gz httpd-2.0_20040729101922.tar.gz apr-util_20040729101259.tar.gz modperl-2.0_20040729042917.tar.gz apr_20040729101246.tar.gz [..

Re: [mp2] NetBSD-1.6.2 modperl snapshot build error

2004-08-01 Thread Randy Kobes
On Sun, 1 Aug 2004, Stas Bekman wrote: > [EMAIL PROTECTED] wrote: [ ... ] > > snapshots used: > > --- > > apr-iconv_20040729101255.tar.gz httpd-2.0_20040729101922.tar.gz > > apr-util_20040729101259.tar.gz modperl-2.0_20040729042917.tar.gz > > apr_20040729101246.tar.gz

Re: Having to restart browser to see changes to CGI

2004-08-01 Thread Stas Bekman
David Arnold wrote: All, With the following entries in our httpd.conf, can anyone see any reason why we are having to close and reopen our browser to see any effect of the changes made to to /online_testing/perl/Quiz1Solns.cgi? If you need to restart the browser (not the server), then it has nothin

Re: HTML::Mason segfault

2004-08-01 Thread Stas Bekman
Richard Bauer wrote: On Wednesday 21 July 2004 21:03, Stas Bekman wrote: Richard Bauer wrote: Hi List, It's my first post. welcome :) I'm running a remote dedicated webserver running a RH 7.2. Originally perl5.6.1 was pre-installed (rpm), so I downloaded and installed perl5.8.4. I decided to downl

Re: [mp2] registry tests problems (powerpc-aix-5.1.0.0 platform / IBM RS6000)

2004-08-01 Thread Stas Bekman
Alexey Bozrikov wrote: [taking the ModPerl-Registry branch of this multi-faced thread] Now, make test in ModPerl-Registry yields some error messages: [...] t/404.t22 100.00% 1-2 t/bad_scripts.t11 100.00% 1 t/basic.t 181 5.5

Re: [mp2] NetBSD-1.6.2 modperl snapshot build error

2004-08-01 Thread Stas Bekman
[EMAIL PROTECTED] wrote: The xs/APR/aprext/ stuff is only needed on certain platforms (Win32, perhaps AIX) for which the way the APR::* modules are built by default doesn't work (this is related to having APR::* usable outside a mod_perl environment). I'm not sure why it's trying to build something

Re: Software caused connection abort

2004-08-01 Thread Stas Bekman
[Please always send a new email when starting a new thread. Do not reply to another thread, changing the subject, since you are still replying to the same thread. Thanks!] Casey Songer wrote: Hello all, I'm running mod_perl 1.99_13 with apache 2.0.49. I'm also running HTML::Mason. Not sure if

Re: Using DBI and Apache::DBI together

2004-08-01 Thread Stas Bekman
Boris Zentner wrote: Hi, Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl: Boris Zentner wrote: [...] # bypass Apache::DBI $dbh = DBI->connect($data_source, $username, $password, { dbi_connect_method => 'connect' }) || die; I knew there is such a parameter, but couldn't remember it. So I took a

Re: "error 111" has been solved and some error occurred when configure apache

2004-08-01 Thread Stas Bekman
Tom Schindl wrote: Well once more let mod_perl do everything for you, see howto do that using INSTALL.simple.mod_ssl. or better, read the mp1 guide: http://perl.apache.org/docs/1.0/guide/install.html#Installation_Scenarios_for_mod_perl_and_Other_Components -- __

Re: How to use, after install...

2004-08-01 Thread Stas Bekman
Tom Schindl wrote: Hi, the best thing would be: 1. Read docs at perl.apache.org 2. Get one of the various good books which are out there: e.g. http://www.amazon.de/exec/obidos/ASIN/0596002270/qid=1091174088/ref=sr_8_xs_ap_i1_xgl/028-6908240-1456549 BTW, the complete list of mod_perl books is avai

Re: ModPerl::Registry: Software caused connection abort

2004-08-01 Thread Stas Bekman
Dan Wilga wrote: [...] I have written to the Apache Developers' list, but the only suggestion I got was that the initial "Connection reset by peer" error is to be expected, but that mod_perl probably shouldn't be generating the pair of "[error]" level log messages. I don't entirely buy this, si

Re: Running separate dev/prod modperl environments

2004-08-01 Thread Stas Bekman
Nathan L. Kugland wrote: Hi all, I'm working on a mason/modperl project that needs separate development and production environments. I only have one machine to work with, and I've realized that using a single httpd process for both of these sites (with my current VirtualHost config) will probabl

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Stas Bekman
Boris Zentner wrote: Hi, Am Samstag 31 Juli 2004 10:20 schrieb Stas Bekman: Geoffrey Young wrote: Boris Zentner wrote: Hi, I have a handler, that serve dynamic pages or static ones. If the handler gets a HEAD request, it answers with [...] it is desired - you no longer need to set the Content-Leng

Re: mod_perl2, HEAD request and Content-Length

2004-08-01 Thread Boris Zentner
Hi, Am Samstag 31 Juli 2004 10:20 schrieb Stas Bekman: > Geoffrey Young wrote: > > Boris Zentner wrote: > >>Hi, > >> > >>I have a handler, that serve dynamic pages or static ones. If the handler > >> gets a HEAD request, it answers with > > [...] > > > it is desired - you no longer need to set th