Re: HELP - Problem installing modperl

2003-02-23 Thread Stas Bekman
pport -KPIC). Your perl must have been built with gcc. Try to rebuild mod_perl, with CC=gcc perl Makefile ... ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---&

mp2: a new helper module: ModPerl::MethodLookup

2003-02-23 Thread Stas Bekman
.html __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 09:41 PM, Stas Bekman wrote: startup.pl? Won't work too well in a module, I think. I have a workaround for my problem for now, but it ain't pretty. Why not? Use a separate module to drive the others? package My::PostConf

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 07:04 PM, Stas Bekman wrote: PerlChildInitHandler? e.g. used by Apache::DBI to pre-connect to the db. Yeah, but I was looking for something pre-fork. Anything come to mind? startup.pl? in 2.0 you have: PerlPostConfigHandler http

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
to pre-connect to the db. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.

FYI: Apache Modeling Portal

2003-02-20 Thread Stas Bekman
docs/offsite/other.html#Apache ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apachewe

Re: Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Stas Bekman
resolve a problem and post a patch, that would be very helpful. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL P

Re: libapreq

2003-02-20 Thread Stas Bekman
David Wilde wrote: Is there a beta version of libapreq available for Apache 2? No, but subscribe to [EMAIL PROTECTED] to stay up to date with the new developments. __ Stas BekmanJAm_pH --> Just Another mod_p

Re: [mp2] what is and why is it my log?

2003-02-20 Thread Stas Bekman
s.pm? May be some debug print was forgotten in the modperl source code. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL

Re: [OT?] Win32 permissions puzzler

2003-02-20 Thread Stas Bekman
generic case so it can be reproduced at will? Does it behave the same with and without mod_perl? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.or

Re: [mp2] porting tip - DefaultType text/html

2003-02-20 Thread Stas Bekman
le only in the back compatibility layer Apache::compat. So if you choose to use Apache::compat you can keep it, if you don't use Apache::compat you have to remove it. ______ Stas BekmanJAm_pH --> Just Another mod_pe

Re: HELP - Problem installing modperl

2003-02-20 Thread Stas Bekman
post your 'perl -V'? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
ould definitely compile the threaded modperl. we will look at resolving the MULTIPLICITY alone, later. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://p

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-19 Thread Stas Bekman
Stas Bekman wrote: Richard Clarke wrote: Stas, Doesn't seem like an apreq problem. It happens in the modperl function. Any chance you can rebuild mod_perl with debug mode enabled (PERL_DEBUG=1), so we can see the arguments and file/linenumbers? See: http://perl.apache.org/doc

Re: [mp2] $r->server()->server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Is it possible to combine the recommended syntax: use warnings FATAL => 'all', NONFATAL => 'redefine'; with the ability to turn warnings on in httpd.conf with PerlSwitches -w? -w is th

Re: [mp2] $r->server()->server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through this already, just yesterday. We did. The list is resending

Re: [mp2] handler running twice for one request

2003-02-19 Thread Stas Bekman
on here? do you have mod_dir configured? but then you aren't requisting / Run with the tracing enabled and you will be able to debug it easily: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_ __ Stas Bekman

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
erride things in your code using the warnings pragma. Though I should add a note that NONFATAL was introduced only in 5.8, so you probably don't want to use it. Instead use: use warnings FATAL => 'all'; no warnings 'redefine'; _________

Re: [mp2] $r->server()->server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through this already, just yesterday. __ Stas BekmanJ

Re: [mp2] $mod_perl::VERSION not defined

2003-02-19 Thread Stas Bekman
; ? __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: mod_perl 2 apache::session and "or die"

2003-02-19 Thread Stas Bekman
ully someone will beat me to it. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apache

Re: [OT?] Win32 permissions puzzler

2003-02-19 Thread Stas Bekman
oups/monks for further discussion. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http:

Re: [mp2] send_http_header() can't be called before the responsephase

2003-02-19 Thread Stas Bekman
Stas Bekman wrote: Nick Tonkin wrote: [...] send_http_header() can't be called before the response phase Nick, I've just committed a better solution. Please verify that it works for you. __ Stas Bekman

Re: help with Apache::DB

2003-02-19 Thread Stas Bekman
Interactive_mod_perl_Debugging ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
n32 build? Any developers on cygwin that can help us here? Hopefully Per Einar is around and can help. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl

Re: Building mod-perl 2 for cygwin: taint cleanup

2003-02-19 Thread Stas Bekman
[splitting the thread in two] Stas Bekman wrote: Steve Baldwin wrote: I've got Apache2 installed and as far as I can tell, it is functional. I'm trying to build mod-perl from source (as I couldn't find any binaries for cygwin). When I initially ran the command : perl Makefile.

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-18 Thread Stas Bekman
') +unescape_url(string); RETVAL = string; OUTPUT: __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Stas Bekman
Randy Kobes wrote: On Wed, 19 Feb 2003, Stas Bekman wrote: Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: perl -le 'warn("foo\n")' You got the quotes wrong for MS Windows, so I ran it twice: C:\Backup>perl -le "warn(qq|foo\n|)&qu

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-18 Thread Stas Bekman
or file uploads. Anyone got any suggestions whilst I go try libapreq 1.0 Richard. -- ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.a

Re: [mp2] send_http_header() can't be called before the responsephase

2003-02-18 Thread Stas Bekman
che::OK); $r->content_type('text/html'); $r->send_http_header; [...] This throws the error: send_http_header() can't be called before the response phase I've posted a tentative solution to the dev list. _____

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: On Wed, 19 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Does anyone know the equivalent directive for $r->server()->server_hostname() it's right there: use Apache::Server; $r->server->server_name; oops, a typo, should be: $r->server->ser

Re: help with Apache::DB

2003-02-18 Thread Stas Bekman
uire mod_perl). http://perl.apache.org/docs/1.0/guide/debug.html#Introduction_to_the_Perl_Debugger ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://

Re: Building mod-perl 2 for cygwin

2003-02-18 Thread Stas Bekman
#x27; cccdlflags=' ', lddlflags=' -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under cygwin Compiled at Feb 18 2003 20:15:28 %ENV: CYGWIN="" @INC: /cygdrive/d/perldev /usr/

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Stas Bekman
Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: perl -le 'warn("foo\n")' You got the quotes wrong for MS Windows, so I ran it twice: C:\Backup>perl -le "warn(qq|foo\n|)" foo C:\Backup>perl -le 'warn("foo\n")'

Re: HELP - Problem installing modperl

2003-02-18 Thread Stas Bekman
so many to choose from. And if you really don't like all the standards you just have to wait another year until the one arises you are looking for.'' A. Tanenbaum, ``Introduction to Computer Networks' ------

Re: [mp2] $r->server_name not working

2003-02-18 Thread Stas Bekman
try to test a bit but I may have to focus on getting a 1.x installation built on this box ... no, it's get_server_name(): use Apache::RequestUtil; $server_name = $r->get_server_name; ______ Stas BekmanJAm_pH -

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: Does anyone know the equivalent directive for $r->server()->server_hostname() it's right there: use Apache::Server; $r->server->server_name; ______ Stas BekmanJAm_pH --> Just Ano

Re: modperl segfault with threaded Perl 5.8

2003-02-18 Thread Stas Bekman
t so, you should be fine with stacked handlers. If performance is critical and you don't need the threads functionality, you are better off with non-threaded perl. Many thanks, and thaks for modperl. ;) __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Is Sys::Signal still needed?

2003-02-17 Thread Stas Bekman
FOO__ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: mod_perl 2.0 question about $r->connection->auth_type

2003-02-17 Thread Stas Bekman
Brian P Millett wrote: Stas Bekman wrote: Brian Millett wrote: Hi, I've just about got the Apache::AuthCookieDBI to work with Apache 2.0.44 & mod_perl 1.99_09-dev, but I ran into a problem with the $r->connection object not having "auth_type" or "user" defin

Re: [Question] Prototype Mismatch for Base64 under RunPerl

2003-02-17 Thread Stas Bekman
lems I'm guessing that you are using perl 5.6.0 which may be the reason for the problem. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.

Re: modperl segfault with threaded Perl 5.8

2003-02-17 Thread Stas Bekman
perl_startup()\n")); \ +} \ mp_preload_module(&arg); \ cmd = arg; \ return NULL __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.

Re: [MP2] Apache::Reload date bug

2003-02-17 Thread Stas Bekman
ings? In any case, I doubt this has anything to do with mod_perl. The [client 127.0.0.1] errors come from Apache, Apache::Reload warnings are coming from perl. check what do you get when you run: perl -le 'warn("foo\n")' ______

Re: problem with mod_perl1.27 & perl5.8/apa1.3.27

2003-02-17 Thread Stas Bekman
porting_Problems Both linked from the 'shortcuts' menu! ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.

Re: Semi-complicated question: modifying the content of a requestbefore passing to CGI?

2003-02-17 Thread Stas Bekman
s the author/maintainer of the 2.0 documentation. Cool! :-) Hopefully this will change asap and other people will take over varous documents. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: Apache::DBI and mod_perl 2

2003-02-17 Thread Stas Bekman
into apr-util. As for mod_perl 1.0, I'm not sure, but if you can make it useful that would be cool. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http:/

Re: is moderator/admin available?

2003-02-17 Thread Stas Bekman
g for. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: How to find out if mod_perl is running

2003-02-17 Thread Stas Bekman
/1.0/guide/install.html#How_can_I_tell_whether_mod_perl_is_running_ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED

mp2 heads up with Apache::Reload

2003-02-17 Thread Stas Bekman
ances... __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Building mod-perl 2 for cygwin

2003-02-17 Thread Stas Bekman
undef in the output of: % perl -V | grep usethreads -Original Message----- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 4:03 PM Cc: Steve Baldwin; [EMAIL PROTECTED] Subject: Re: Building mod-perl 2 for cygwin We can take two approaches, patch all the plac

Re: Building mod-perl 2 for cygwin

2003-02-16 Thread Stas Bekman
. README.cygwin says: =item * C<-Dusemultiplicity> Multiplicity is required when embedding Perl in a C program and using more than one interpreter instance. This works with the Cygwin port. Though I can't see that this is a required option. _

Re: Building mod-perl 2 for cygwin

2003-02-16 Thread Stas Bekman
places in the code where perl context is set explicitly to use #ifdef MULTIPLICITY, rather than #ifdef USE_THREADS. Or we can refuse to build mod_perl if MULTIPLICITY is enabled without the threads. Of course the first solution is more favorable for users. But may I ask why do you have MULTIPLICITY

Re: [mp2] Free to Wrong Pool

2003-02-16 Thread Stas Bekman
cifically in the mod_perl 2.0 env. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Apache::DBI and mod_perl 2

2003-02-16 Thread Stas Bekman
@INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 [...] Also remember, that you can't test modules that require mod_perl to run from the command line. You'd have the same result with mod_perl 1.0 ____

Re: Apache::Module installation issues

2003-02-13 Thread Stas Bekman
-#ifdef _INCLUDE_APACHE_FIRST #include "apache_inc.h" +#define _INCLUDE_APACHE_FIRST #endif #include "EXTERN.h" ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod

Re: modperl segfault with threaded Perl 5.8

2003-02-13 Thread Stas Bekman
pp did you get this trace with? It'd be helpful to update the bug reporting section to explain how to get a more useful trace. The one that includes symbols, arguments and line numbers. ______ Stas BekmanJAm_pH --

Re: [OT?] Win32 permissions puzzler

2003-02-13 Thread Stas Bekman
rence.html#Using_Global_Variables_and_Sharing_Them_Between_Modules_Packages __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://u

Re: Server returns nothing (solved)

2003-02-13 Thread Stas Bekman
Viljo Marrandi wrote: Hello, Yes, use strict; was in all modules, this makes it even more interesting, doesn't it? use warnings; ? __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://st

Re: compile apache with mod_perl

2003-02-12 Thread Stas Bekman
know right away what causes the problem. See: http://perl.apache.org/docs/2.0/devel/debug/c.html#Getting_the_core_File_Dumped http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems __ Stas BekmanJAm_pH

Re: mod_perl 2.0 question about $r->connection->auth_type

2003-02-12 Thread Stas Bekman
ither use the latest modperl-2.0 cvs or apply this patch to get the functionality: http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=104509336821414&w=2 Also the online docs were updated (pending automatic update) ______ Stas B

Re: Fw: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-11 Thread Stas Bekman
. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: cmd_data analogous

2003-02-11 Thread Stas Bekman
ll test (just extend one of the t/response/TestDirective/perlloadmodule*) is very appreciated. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org m

Re: RAW_ARGS question

2003-02-11 Thread Stas Bekman
working on implementing it, if you can contribute such an example to the documentation, that would be grand! Thank you. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Gu

Re: Registry return codes handling (was Re: Possible bug with a 206Partial Response)

2003-02-11 Thread Stas Bekman
...ok 500ok basic..ok closureok perlrun_requireok redirect...ok special_blocks.ok All tests successful. Files=8, Tests=34, 11 wallclock secs ( 6.80 cusr + 0.80 csys = 7.60 CPU) __

Re: Registry return codes handling (was Re: Possible bug with a 206Partial Response)

2003-02-10 Thread Stas Bekman
on (make a sub-classable registry). ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apa

Re: Registry return codes handling (was Re: Possible bug with a 206Partial Response)

2003-02-10 Thread Stas Bekman
iately received a bug report, where the script wasn't doing the right thing. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTEC

Re: Fw: [Perl] how to static link mod_perl 2 into apache 2.0

2003-02-10 Thread Stas Bekman
'd first check with Mason folks whether 2.0 is supported at all. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: What is lastest stable version of mod_perl? newbie question.

2003-02-10 Thread Stas Bekman
__ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org

Re: mod_perl Installation and Configuration (fwd)

2003-02-10 Thread Stas Bekman
/install.html#How_can_I_tell_whether_mod_perl_is_running_ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.or

Re: httpd chroot 3.2 mod_perl

2003-02-08 Thread Stas Bekman
he::Test. Rename your package and it'll probably just work. [p.s. it's a good practice not to hit reply on another thread's message, but to start a new mail when you start a new thread, otherwise you mess up the previous thread and the current one.] ___

Re: test failed; ... t/httpd.conf

2003-02-08 Thread Stas Bekman
Vicki Brown wrote: At 14:05 +1100 2003-02-09, Stas Bekman wrote: what happens if you do: cd ../apache_1.3.27/src make At this point, I get a "probably harmless" note and a make error. I ran: configure \ --server-uid=www \ --serv

Re: test failed; ... t/httpd.conf

2003-02-08 Thread Stas Bekman
Vicki Brown wrote: At 12:34 +1100 2003-02-09, Stas Bekman wrote: Vicki, you are obviously missing some build steps. Obviously :/ How about starting from scratch again following the guide and get this frustration over? Sadly, I started from scratch the first time. Thousands of people

Re: test failed; ... t/httpd.conf

2003-02-08 Thread Stas Bekman
just worked for them. 99.% that it'll work for you too ;) More details can be found at: http://perl.apache.org/docs/1.0/guide/install.html Hope it works out for you this time. __ Stas BekmanJAm_pH --> Just

Re: Disabling TransHandler

2003-02-06 Thread Stas Bekman
h was doing: my $auth = $r->dir_config('authsession'); $r->set_handlers(PerlTransHandler => sub { return OK }) if $auth eq 'false'; this is not a magic internal feature ;) ______ Stas BekmanJA

Re: mod_perl 1.27 intermittent Segmentation Faults

2003-02-06 Thread Stas Bekman
eader'. Sometimes it can take hours before a segmention fault occurs. Sometimes it is immediate. Every time I get the core dump, the location is the same--mod_perl_sent_header. -- __ Stas BekmanJAm_pH --> Just Ano

Re: Newbie advice required [some further info]

2003-02-05 Thread Stas Bekman
ers? e.g.: $r->uri("/perl/bob.pl"); assuming that you have /perl configured to run ModPerl::Registry? Does a request to /bob.php works fine if requested directly (when you don't have your PerlTransHandler installed? ___

Re: Newbie advice required

2003-02-05 Thread Stas Bekman
Seldo wrote: Whoa, quick turnaround! Oof course, it's 11pm here, but only 6pm where you are I suppose... It's actually 11am, on your tomorrow (PDT+11) ;) I'm living in the future ;) On 05 February 2003, Stas Bekman wrote: SB> You forgot to add to unfortunate facts that bot

article: The Apache of the Future

2003-02-05 Thread Stas Bekman
Here is an article on Apache 2.0 adoption trend http://www.newsfactor.com/perl/story/20572.html __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apac

Re: Newbie advice required

2003-02-05 Thread Stas Bekman
sors do you need? Any and all advice appreciated, including "You fool! This already exists!" :-) __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> ht

Registry return codes handling (was Re: Possible bug with a 206 PartialResponse)

2003-02-04 Thread Stas Bekman
return ($rc == OK && $old_status != $new_status) ? $pr_status : $rc; } 1; __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Possible bug with a 206 Partial Response

2003-02-04 Thread Stas Bekman
case, you can subclass Apache::RegistryNG and override the handler() method to get things working for you now. or give a try to mp2.0. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: Possible bug with a 206 Partial Response

2003-02-04 Thread Stas Bekman
.0 lays: ModPerl::Registry doesn't reset status if it wasn't changed by the script. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Different modules, same names, random results

2003-02-04 Thread Stas Bekman
sub compile { my ($namespace, $file) = @_; open my $fh, $file; local $/; my $data = <$fh>; close $fh; { eval "package $namespace;\n $data"; } return $@ ? 0 : 1; } 1; __ Stas BekmanJAm

Re: Different modules, same names, random results

2003-02-04 Thread Stas Bekman
de/porting.html#Name_collisions_with_Modules_and_libs ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org htt

Re: handling of the trailing slash

2003-02-04 Thread Stas Bekman
bably...) It's hard to guess what your relevant configuration is. Care to send in the mod_perl and Apache sections? Including things like Multiviews Options, DirectoryIndex, etc. Basically it all comes to the following logic: mod_perl sections inherit all the default Apache settings unless you

Re: Problem Building 1.99_08 on OpenBSD

2003-02-04 Thread Stas Bekman
bols, which seems to be the cause of the error: ranlib: mod_perl.so: Inappropriate file type or format ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http:/

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

2003-02-04 Thread Stas Bekman
ate them from the body. Apache then adds other headers (Server token, Date, etc) and sends the response as if it was a mod_perl module. Think of Apache::Registry and friends as mod_cgi on mushrooms. __ Stas BekmanJAm_pH --> Just A

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
" for networking, you may be burned some day. Apache already fixes up "\n\n" to the right thing. What it really does is identifying the Content-type: header, and then adds the terminating by itself, because it really sends other headers, before adding an empty new line. So it shouldn&#x

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

2003-02-03 Thread Stas Bekman
back to the list: http://marc.theaimsgroup.com/?l=apache-modperl&m=104355584120402&w=2 Apparently you have email problems if you didn't receive the reply. I've CC'ed you as well, but the email bounced. ______ Stas BekmanJA

Re: $^T

2003-02-03 Thread Stas Bekman
time() instead. If the beginning of the request is good enough, $r->request_time is better, as it saves a system call. http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlPostReadRequestHandler __ Stas Bek

Re: [patch] Changes to RegistryCooker for subclassing

2003-02-02 Thread Stas Bekman
time one. We need it working for 5.6.1+, is it working fine with 5.6.1? Pseudohashes are certainly out of question. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guid

Re: [ANNOUNCE] Apache::PAR 0.10

2003-02-02 Thread Stas Bekman
portant for people to start using Apache::Test everywhere, so we can sort out the problems and missing features and release it on CPAN asap. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: about @INC and handlers directory

2003-02-02 Thread Stas Bekman
loaded server. http://perl.apache.org/docs/1.0/guide/config.html#Is_There_a_Way_to_Modify__INC_on_a_Per_Virtual_Host_or_Per_Location_Basis_ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: [mp2] +Parent and -Mblib breaks AuthDBI and apache

2003-01-31 Thread Stas Bekman
Christopher Hicks wrote: On Thu, 30 Jan 2003, Stas Bekman wrote: Christopher Hicks wrote: Is there any equivalent to PerlVINC under mod_perl 2? Yes, and it's a built-in solution, rather than a hack: http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ That had me

Re: Randy Kobe's mod_perl2 all-in-one binary

2003-01-31 Thread Stas Bekman
better. Not a problem, any more, just curious. Cool. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://ap

Re: [MP2] bug report startup and XML::LibXML

2003-01-31 Thread Stas Bekman
reproduce the problem, and just looking at the source doesn't click anything. May be try posting your research to p5p? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_pe

Re: [ANNOUNCE] libapreq-1.1 is out

2003-01-31 Thread Stas Bekman
Matt Sergeant wrote: On Thursday, Jan 30, 2003, at 22:36 Europe/London, Stas Bekman wrote: Matt, Apache::Test may not work when run under root, because Apache won't let you start the server as 'User root' so it tries to use 'nobody' or something else as the usern

Re: [ANNOUNCE] libapreq-1.1 is out

2003-01-30 Thread Stas Bekman
root. As for Apache::test, I'm not familiar with it, so perhaps someone who is, can backport that above patch to it. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Gu

Re: [MP2] bug report startup and XML::LibXML

2003-01-30 Thread Stas Bekman
bytes Perl_sv_dup(interpreter * 0x00d84344, sv * 0x0006f6e8, clone_params * 0x0006fdf0) line 9297 + 26 bytes Though the good thing is that it happens on croak (something went wrong). So perhaps you can check why does it happen in first place. I'd at the above frame. ___

<    2   3   4   5   6   7   8   9   10   11   >