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 extension

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

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: 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: 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 do

Re: Support of CR LF 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 mod_perl

RE: Support of CR LF 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 Apache-1.3.9

RE: Support of CR LF 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

RE: Support of CR LF 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. Is it

RE: Support of CR LF 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_header" I

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

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

RE: Support of CR LF 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

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 Location /perl/ AddHandler server-parsed .asp AddHandler perl-script .asp PerlHandler Apache::ASP /Location The ASP works fine, but the SSI does not happen. - Stefan

Apache and FILEHANDLES

1999-11-15 Thread Anthony Gardner
All, Is there another way to write to files than print OPF (END); ... END I've checked out the Eagle book and all I saw concerning this was tie(ing) FILEHANDLES to STDOUT/IN. Also, why can't I write to files from startup.pl (i.e. during server start up?!) If these are obvious, please don't

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); ... END I've

Re: Apache and FILEHANDLES

1999-11-15 Thread darren chamberlain
Out of curiosity, what is wrong with the regular open/close/print END? The Apache::File class provides an Apache-oriented version of IO::File; it's described on pp 489-496 in my copy of the Eagle book. Depending on what files you want to write to, there might be other ways. If you are just

[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

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

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

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

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 constitute

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 Location /perl/ AddHandler server-parsed .asp AddHandler perl-script .asp PerlHandler Apache::ASP /Location You can see an online

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: 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$]

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,