Seg fault on fork w/ PerlModule

1999-11-15 Thread Tony Demark
I have compiled the following: Apache 1.3.9 mod_perl 1.21 (PERL_AUTHEN PERL_LOG PERL_STACKED_HANDLERS) on: Ultra 10 Solaris 7 with: gcc 2.95.2 19991024 perl 5.005_03 When starting an httpd process with a 'PerlModule' defined in the conf file,

RE: form data handling in Embperl

1999-11-15 Thread Gerald Richter
> > > Embperl doc states: > > If you do not specify a default value for an input tag and a value > for that input tag is available in %fdat, Embperl will automatically > insert this value and send it to the browser. > > I find that this is not the case when the input tags are not inserted > ver

RE: Embperl: returnvalue of sub (was: session handling...)

1999-11-15 Thread Gerald Richter
 Hi, By the way, how to return value from a subroutine defined with [$sub$][$endsub$]. It seems returning nothing now. Yes, it returns always zero. It's already on the todo list to return a value. Until then you can modify the args of the subroutine [$sub foo$] $_[0] = 5 ; [$endsub$]

Re: Ye Ol' Template System Thread

1999-11-15 Thread Joshua Chamas
Leslie Mikesell wrote: > > What I'm looking for is a 'nestable' way of handling the logic > flow and HTML construction that will allow a page to be used > as a stand-alone item (perhaps displayed in a frameset) or > included in another page, but when it is included I'd like to > have the option of

Re: Apache::ASP and SSI

1999-11-15 Thread Joshua Chamas
Stefan Reitshamer wrote: > > Hi, > > I'd like to do server-side includes in my Apache::ASP file. > How do I write my httpd.conf? > I tried > > > AddHandler server-parsed .asp > AddHandler perl-script .asp > PerlHandler Apache::ASP > You can see an online demo of Apach

Re: Ye Ol' Template System Thread

1999-11-15 Thread Matt Sergeant
On Mon, 15 Nov 1999, Joshua Chamas wrote: > Sam Tregar wrote: > > > > The only question I'm really itching to answer is which template system is > > fastest? Maybe I should cook up a benchmark suite. I suppose the hardest > > part about that will be finding a set of templates/scripts that const

leaaving modperl list(s)

1999-11-15 Thread Avraham \(Avi\) Shapiro
This list is beyond my level of just plain apache understanding. Unfortunately I lost the mail that said how to join/leave. Sorry to submit to the non-admin list, but I lost a disk and don't remember what it was. How do I leave the list? TIA /Avi

form data handling in Embperl

1999-11-15 Thread Vegard Vesterheim
Embperl doc states: If you do not specify a default value for an input tag and a value for that input tag is available in %fdat, Embperl will automatically insert this value and send it to the browser. I find that this is not the case when the input tags are not inserted verbatim into the emb

Re: Ye Ol' Template System Thread

1999-11-15 Thread Sam Tregar
On Mon, 15 Nov 1999, Leslie Mikesell wrote: > What I'm looking for is a 'nestable' way of handling the logic > flow and HTML construction that will allow a page to be used > as a stand-alone item (perhaps displayed in a frameset) or > included in another page, but when it is included I'd like to

[PATCH] Apache headers need to be changed for compiling mod_perl under ActivePerl

1999-11-15 Thread Jochen Wiedmann
Hi, attached you find a patch that needs to be applied to the Apache sources for compiling mod_perl under ActivePerl. Doug, could you or someone else with a CVS acount to the Apache sources please apply this patch? AFAIK there's no functional difference between the patched headers and the curre

[PATCH] Compile Leak.xs under ActivePerl

1999-11-15 Thread Jochen Wiedmann
Hi, the following, minor patch is required to compile Leak.xs under ActivePerl: In line 55 change p->tag = tag; to p->tag = (char*) tag; Thanks, Jochen

Re: Ye Ol' Template System Thread

1999-11-15 Thread Leslie Mikesell
According to Sam Tregar: > > > I think a lot of unnecessary complexity comes from the fact that > > most of the template systems (and apache modules in general) want > > to output the html as a side effect instead of accumulating the > > page in a buffer or just returning a string containg the ht

Re: Apache and FILEHANDLES

1999-11-15 Thread darren chamberlain
Out of curiosity, what is wrong with the regular open/close/print warn("MY HANDLER => $my_particular_error_message"); syntax and keep all your messages in the error log. darren Anthony Gardner ([EMAIL PROTECTED]) wrote: > All, > > Is there another way to write to files than > > print OP

Re: Apache and FILEHANDLES

1999-11-15 Thread Renzo Toma
Try using anonymous file handles using the gensym function in the package Symbol; #!/usr/bin/perl -w use Symbol; my $fh = gensym; my $file = "bar"; open $fh, ">${file}" or die; print $fh "foo\n"; close $fh; > Is there another way to write to files than > > print OPF (< ... > END > > I've chec

Apache and FILEHANDLES

1999-11-15 Thread Anthony Gardner
All, Is there another way to write to files than print OPF (

Apache::ASP and SSI

1999-11-15 Thread Stefan Reitshamer
Hi, I'd like to do server-side includes in my Apache::ASP file. How do I write my httpd.conf? I tried AddHandler server-parsed .asp AddHandler perl-script .asp PerlHandler Apache::ASP The ASP works fine, but the SSI does not happen. - Stefan Reitshamer [EMAIL PROTECTE

RE: Support of in a EBCDIC environment

1999-11-15 Thread Stas Bekman
> > which one did work for you: > > PerlSendHeader On or $r->send_http_header? > > In my first try with the print "Content-type: text/html\r\n\r\n" I had the > "PerlSendHeader On" and the content-type of the response was "text/plain". > In the second try with "$r->send_http_header" I removed the

Newline

1999-11-15 Thread G.W. Haywood
Dear list readers - On Mon, 15 Nov 1999, Stas Bekman wrote: > Generally "\n\n" is enough for most (all?) of the widely used browsers > (clients), but to be compliant with HTTP RFCs one has to use "\r\n\r\n". I do not believe this to be true. I have had problems when sending "\n\n" to users w

Apache::Language Problem

1999-11-15 Thread Manon Goo
Hi I tried to install Apache::Language with perl -MCPAN -eshell and install Apache::Langauge this dows not work ... the I tried to copy th *.h files form modperl and apache into place an it did not work either anny hints ?? Manon Goo PS: I am not on the [EMAIL PROTECTED] list please repl

RE: Support of in a EBCDIC environment

1999-11-15 Thread ignasi . roca
> > Your proposal works. > > which one did work for you: > PerlSendHeader On or $r->send_http_header? In my first try with the print "Content-type: text/html\r\n\r\n" I had the "PerlSendHeader On" and the content-type of the response was "text/plain". In the second try with "$r->send_http_heade

RE: Support of in a EBCDIC environment

1999-11-15 Thread Stas Bekman
> Your proposal works. which one did work for you: PerlSendHeader On or $r->send_http_header? > > Then, how to solve "the problem with "\n\n" ? To be compatible It should > also work. > > > This example would work only if you have PerlSendHeader set to 'On' > in the > config file.

RE: Support of in a EBCDIC environment

1999-11-15 Thread ignasi . roca
Yes, your proposal works. But I'm working in an EBCDIC platform, so I shouldn't use ASCII values in the perl-scripts, all must be EBCDIC. As you say \r and \n are platform dependent, so source programs should use "\r" and "\n" in order that the sources are platform independent. Looking some source

RE: Support of in a EBCDIC environment

1999-11-15 Thread ignasi . roca
Your proposal works. Then, how to solve "the problem with "\n\n" ? To be compatible It should also work. This example would work only if you have PerlSendHeader set to 'On' in the config file. Is it On? May be this is not a problem "\r\n", if this is your case G

RE: Support of in a EBCDIC environment

1999-11-15 Thread Eric Cholet
I'm not familiar with EBCDIC, but in Perl \r and \n are platform dependent, you migh want to try the platform independent \015 (cr) and \012 (lf). [EMAIL PROTECTED] wrote: > > Dear list readers - > > I'm working with the following environment: > > BS2000-Posix as O.S. > Perl-5.005_54 > Apach

Re: Support of in a EBCDIC environment

1999-11-15 Thread Stas Bekman
> Dear list readers - > > I'm working with the following environment: > > BS2000-Posix as O.S. > Perl-5.005_54 > Apache-1.3.9 > Mod_perl-1.21 > > BS2000-Posix has the EBCDIC as character set, both Apache-1.3.9 and > perl-5.005_54 are ported to support EBCDIC code. > > I installed Apache with

Support of in a EBCDIC environment

1999-11-15 Thread ignasi . roca
Dear list readers - I'm working with the following environment: BS2000-Posix as O.S. Perl-5.005_54 Apache-1.3.9 Mod_perl-1.21 BS2000-Posix has the EBCDIC as character set, both Apache-1.3.9 and perl-5.005_54 are ported to support EBCDIC code. I installed Apache with mod_perl and tried the cou

Re: Ye Ol' Template System Thread

1999-11-15 Thread G.Richter
> Both Matt & Gerald a few > months back suggested they were going to put together a more > realistic benchmark, but don't know where they are with it. > I have started with this job, but my time wasn't eounght to get it to an point where I can release it. There are so much other things I had to

Re: Ye Ol' Template System Thread

1999-11-15 Thread Joshua Chamas
Sam Tregar wrote: > > The only question I'm really itching to answer is which template system is > fastest? Maybe I should cook up a benchmark suite. I suppose the hardest > part about that will be finding a set of templates/scripts that constitute > roughly equal tasks. What do you all think?

Re: Apache::ASP

1999-11-15 Thread Joshua Chamas
Dear ModPerl List, Sorry for this misplaced post. I'll be removing the once thought to be helpful email support hints for Apache::ASP from the end of the html debugging option, because of these cases where webmasters leave developer debugging turned on in production. -- Joshua _

Re: Apache::ASP

1999-11-15 Thread Joshua Chamas
Lauchlan, Thanks for following directions, but you were never supposed to see this error message, as it is only for web server debugging, and was for your webmaster's eyes only. You ended up posted a bug report to a web developer group not affiliated with University of Mississippi. If this prob

Re: Apache::ASP

1999-11-15 Thread Joshua Chamas
Darrell Collins wrote: > > Hi All, > > I am trying to use Apache::ASP with Apache::DBI and Mysql. When I do a > select * from table name where id='var' > some times i get the correct data other times i get old data then i hit > the reload button i get the correct data. > Depending on the exten