Re: Apache-2.0 starts only 1 servers and does not respond. (fwd)

2001-10-22 Thread Stas Bekman
[EMAIL PROTECTED] wrote: > I'm new at mod_perl, though I have been pretty experienced at installing > Apache. > > To test out the new Apache server, I decided to play around with httpd-2.0 > and modperl-2.0. I followed the instruction in pod/modperl_dev.pod and > downloaded the latest httpd a

Re: returns plain text

2001-10-22 Thread Stas Bekman
that's a wrong list, please resend to [EMAIL PROTECTED], but first check the archives linked from perl.apache.org. vijay wrote: > Hi, > when i execute a cgi under mod_perl it returns plain text instead of > executing it. Iam using Linux 7.0 (mod_perl comes with Linux 7.0) > > > this is the co

Re: perl.apache.org / apache.perl.org

2001-10-22 Thread Stas Bekman
Nathan Torkington wrote: >>cvs where? it has to stay at perl.apache.org I believe. >> > > Didn't you say that the current site is maintained with CVS? Just > make a subdirectory /new and put the new site into that. Work from > there. ok >>Also what components framework have you used, is i

Re: [Patch] Document APR::Table TIE interface

2001-10-22 Thread Philippe M. Chiasson
On Mon, Oct 22, 2001 at 11:55:51PM +0800, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > > /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff > > Index: docs/src/api/mod_perl-2.0/APR/Table.pod > > > committed, thanks! > > > > +remark: APR::Tables can hold more than one key-

Re: [Patch] Document APR::Table->do()

2001-10-22 Thread Philippe M. Chiasson
On Tue, Oct 23, 2001 at 12:01:00AM +0800, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > > Here you go: > > > thanks > > > > /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff > > Index: docs/src/api/mod_perl-2.0/APR/Table.pod > > > + $table->do(sub {[...]}, [@filter]); >

Re: perl.apache.org / apache.perl.org

2001-10-22 Thread Nathan Torkington
Stas Bekman writes: > Though I prefer mild colours, not shouting ones. I use the site all the > time, and I don't need to be shouted at. May be we want a splash page > just for some entrance page, which those who use the site daily don't > have to see. I like the colours at use.perl.org and eve

returns plain text

2001-10-22 Thread vijay
Hi, when i execute a cgi under mod_perl it returns plain text instead of executing it. Iam using Linux 7.0 (mod_perl comes with Linux 7.0) this is the code in httpd.conf PerlRequire /var/www/scripts/startup.pl Alias /scripts/ /var/www/scripts/ SetHandler perl-script PerlHandler Ap

Apache-2.0 starts only 1 servers and does not respond. (fwd)

2001-10-22 Thread jcheng
I'm new at mod_perl, though I have been pretty experienced at installing Apache. To test out the new Apache server, I decided to play around with httpd-2.0 and modperl-2.0. I followed the instruction in pod/modperl_dev.pod and downloaded the latest httpd and modperl using cvs. I built and i

Re: [patch] Revised patch for libapreq

2001-10-22 Thread Issac Goldstand
Forgot the patch *grimaces*...   Internet is a wonderful mechanism for making a fool ofyourself in front of a very large audience.  --Anonymous   Moving the mouse won't get you into trouble...  Clicking it might.  --Anonymous   PGP Key 0xE0FA561B - Fingerprint:7E18 C018 D623 A57B 7F37 D902 8C8

[patch] Revised patch for libapreq

2001-10-22 Thread Issac Goldstand
Sorry - the previous patch generated a whole new problem of leaving open filehandles.  This patch gaurantees only one filehandle (which will be preoperly closed).     Issac   Internet is a wonderful mechanism for making a fool ofyourself in front of a very large audience.  --Anonymous   Movi

Re: [Patch] Document APR::Table->do()

2001-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: > Here you go: thanks > /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff > Index: docs/src/api/mod_perl-2.0/APR/Table.pod > + $table->do(sub {[...]}, [@filter]); SYNOPSIS usually shows a real example and not an API declaration, would something l

PATCH: libapreq upload_hook fix

2001-10-22 Thread Issac Goldstand
The upload_hook will work with this.  However, I'd like to suggest that code should be added, so that if perl_call_sv returns an error (eg, if (SvTRUE(ERRSV)) ), an error message should be written to error_log informating the developer that his code did not eval properly.  [It died, or other

Re: [Patch] Document APR::Table TIE interface

2001-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: > /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff > Index: docs/src/api/mod_perl-2.0/APR/Table.pod committed, thanks! > +remark: APR::Tables can hold more than one key-value pair sharing the same key, > +so when using a table thru the tied interface

[patch] r->location implementation

2001-10-22 Thread Stas Bekman
Index: src/modules/perl/modperl_config.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_config.c,v retrieving revision 1.43 diff -u -r1.43 modperl_config.c --- src/modules/perl/modperl_config.c 2001/09/28 20:08:34

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Stas Bekman
Barrie Slaymaker wrote: > On Mon, Oct 22, 2001 at 10:46:04PM +0800, Stas Bekman wrote: > >>It works for me: >> >>my $package = << 'END'; >>package Foo ; >> >>enter: >>print "entered\n" ; >> >>sub handler { goto enter } >> >>1 ; >>END >> >>eval $package; >>Foo::handler; >> >>p

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Barrie Slaymaker
On Mon, Oct 22, 2001 at 10:46:04PM +0800, Stas Bekman wrote: > > It works for me: > > my $package = << 'END'; > package Foo ; > > enter: > print "entered\n" ; > > sub handler { goto enter } > > 1 ; > END > > eval $package; > Foo::handler; > > prints: > > entered It sho

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Stas Bekman
Barrie Slaymaker wrote: > On Mon, Oct 22, 2001 at 08:33:49AM -, [EMAIL PROTECTED] wrote: > >> >> +- the closure issue: >> + there was a suggestion from raptor to use goto() to leave the code >> + unwrapped in the sub handler, which will solve the closure problem, >> + but the probl

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Barrie Slaymaker
On Mon, Oct 22, 2001 at 08:33:49AM -, [EMAIL PROTECTED] wrote: > > +- the closure issue: > + there was a suggestion from raptor to use goto() to leave the code > + unwrapped in the sub handler, which will solve the closure problem, > + but the problem is that once you leave a su

$r->finfo() problems and questions, mostly apr's fault ;-(

2001-10-22 Thread Philippe M. Chiasson
Hey, I've got a working implementation of $r->finfo, but it's quite messy. Here are the problems I have... First, there is no clear mechanism to convert from apr_finfo_t to struct stat ;( Even more annoying is that even if it was possible, some elements are lost, like st_blksize, st_blocks & st_

[Patch] Document APR::Table TIE interface

2001-10-22 Thread Philippe M. Chiasson
/home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff Index: docs/src/api/mod_perl-2.0/APR/Table.pod === RCS file: /home/anoncvs/mod_perl-docs-cvs/src/api/mod_perl-2.0/APR/Table.pod,v retrieving revision 1.1 diff -u -I'$Id'

[Patch] Document APR::Table->do()

2001-10-22 Thread Philippe M. Chiasson
Here you go: /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff Index: docs/src/api/mod_perl-2.0/APR/Table.pod === RCS file: /home/anoncvs/mod_perl-docs-cvs/src/api/mod_perl-2.0/APR/Table.pod,v retrieving revision 1.1 di