Re: ePerl (fragment of Re: Apache::SimpleTemplate)

2001-07-08 Thread Todd Finney
Yea, I tried that, but it was still unhappy. There are apparently a couple of other tweaks that needed to be done. I didn't think too much about it; after the first error, I went looking for information and found the patch. http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/eperl/Makefile

Re: Apache::SimpleTemplate (don't do it!)

2001-07-08 Thread Robert Landrum
>Yes. Writing a templating system in Perl is trivial. Writing a >*useful* templating system in Perl is demonstratably hard. I too have written a templating system. About a year ago I wrote a simple module called dbq.pm. It performed database queries. Basically, you could mock up a simple ht

any trick to exclude some files in FilesMatche

2001-07-08 Thread Surat Singh Bhati
Hi, I want to configure the Apache for Apache::PerlRun as: SetHandler fastcgi-script Options +ExecCGI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On Options +ExecCGI But all the .pl , including fast_(.*).pl are run by Apache::PerlRun handler,

Re: The latest templating system: PSP in DDJ

2001-07-08 Thread Joshua Chamas
Perrin Harkins wrote: > > on 7/7/01 9:30 PM, Ron Pero at [EMAIL PROTECTED] wrote: > > > Just received my issue of Dr. Dobbs Journal today, and one of the articles > > is "A Tiny Perl Server Pages Engine". Pretty nifty. > > > > Read about it here: > > http://www.ddj.com/articles/2001/0108/0108g/0

Re: Apache::SimpleTemplate

2001-07-08 Thread Thomas Eibner
On Sat, Jul 07, 2001 at 06:00:24PM -0400, Geoffrey Young wrote: > I actually use Text::Template for all my templating (sigh), and have such a > wrapper (save just a bit of custom code). I basically implement the HASH > version and use a PerlInitHandler to set up the substitutions using pnotes. >

Re: internet redirection

2001-07-08 Thread Brooklyn Linux Solutions CEO
BTW No only is that internet redirectionb, but it is also INTERNAL redirection it's been a long day. Ruben > Greeting > > I have a programing doing interent redirect after > reading a cookie and doing some authentication. > > I return the OK constant after the redirection, but it > see

send_httpd_headers

2001-07-08 Thread Brooklyn Linux Solutions CEO
Is there a way to know that headers have already been sent before send headers out? Ruben

internet redirection

2001-07-08 Thread Brooklyn Linux Solutions CEO
Greeting I have a programing doing interent redirect after reading a cookie and doing some authentication. I return the OK constant after the redirection, but it seems that a bunch of other calls are being made to the server. Specifically, if you use your browser to call http://www.mysite.co

Error in PerlRun

2001-07-08 Thread Surat Singh Bhati
Hi, I am not able to run the mod_perl scriptsd as with Apache::PerlRun, Apache::Registry is working fine. PerlRun says : "filename not found or unable to stat" and gives the 404 error. The file is exists there with proper permission, I am able to run same file

RE: ePerl (fragment of Re: Apache::SimpleTemplate)

2001-07-08 Thread Todd Finney
At 02:40 PM 7/8/01, Perrin Harkins wrote: > > We use ePerl for a fair number of things, and I have yet to run > into > > something we needed of which it was not capable. What are you > > thinking of? > >It's not a question of it not being capable, it's just that most >people seem >to choose on

Re: ePerl (fragment of Re: Apache::SimpleTemplate)

2001-07-08 Thread Todd Finney
At 07:47 AM 7/8/01, Ged Haywood wrote: >On Sat, 7 Jul 2001, Todd Finney wrote: > > > We use ePerl for a fair number of things, and I have yet to run > into > > something we needed of which it was not capable. > >Didn't I read somewhere that there were security concerns? There was a fix made in 1

Re: Apache::SimpleTemplate

2001-07-08 Thread Perrin Harkins
on 7/8/01 2:46 AM, Gunther Birznieks at [EMAIL PROTECTED] wrote: > In addition one of the criteria for "useful" to me is "fast". If the > template system is slow, it's quite annoying. However, this goes against > other people's ideas of "useful" being "full featured". As Steven Wright > says (para

RE: ePerl (fragment of Re: Apache::SimpleTemplate)

2001-07-08 Thread Perrin Harkins
> We use ePerl for a fair number of things, and I have yet to run into > something we needed of which it was not capable. What are you > thinking of? It's not a question of it not being capable, it's just that most people seem to choose one of the more full-featured tools. There's lots of talk

Re: The latest templating system: PSP in DDJ

2001-07-08 Thread Robin Berjon
On Sunday 08 July 2001 03:30, Ron Pero wrote: > Just received my issue of Dr. Dobbs Journal today, and one of the articles > is "A Tiny Perl Server Pages Engine". Pretty nifty. > > Read about it here: > http://www.ddj.com/articles/2001/0108/0108g/0108g.htm Nifty indeed, if you're interested in su

Re: getting URL of refused page, after OnDeny

2001-07-08 Thread wald
> Can you set up a custom error document handler and redirect to that, > rather than using your OnDeny? Return something like 409 > ("Conflict"), and Apache will do an internal redirect, from which > you can get the requesting URI in the same way that you can in > other redirects. > > Act

Re: problems compiling Embperl 1.3.3 on MacOS X 10.0.4

2001-07-08 Thread Gerald Richter
Hi, unfortunately I don't know anything about MaxOS X. The only idea I have, is to look at other Perl modules, that compiles successfully, Makefile/Makefile.PL and see where the differences is. Do you try to compile with or without mod_perl support ? I think you should start without mod_perl sup

Re: Apache::SimpleTemplate

2001-07-08 Thread Gunther Birznieks
At 06:16 PM 7/7/2001 -0700, brian moseley wrote: >On 7 Jul 2001, Randal L. Schwartz wrote: > > > Yes. Writing a templating system in Perl is trivial. > > Writing a *useful* templating system in Perl is > > demonstratably hard. > >unless you keep application features in a separate layer >from the

Re: ePerl (fragment of Re: Apache::SimpleTemplate)

2001-07-08 Thread Ged Haywood
Hi there, On Sat, 7 Jul 2001, Todd Finney wrote: > We use ePerl for a fair number of things, and I have yet to run into > something we needed of which it was not capable. Didn't I read somewhere that there were security concerns? > Just asking. Ditto. 73, Ged.

Re: modperl install without Apache src?

2001-07-08 Thread Ged Haywood
Hi all, On Fri, 6 Jul 2001, Doug MacEachern wrote: > On Fri, 6 Jul 2001, Ged Haywood wrote: >> On Thu, 5 Jul 2001, Knox, Laurie A, NPONS wrote: >>> I was going to upgrade it to 1.25, but I don't have the Apache src. >> Why don't you just get it? > there should be no need if apache was properly

RE: modperl install without Apache src?

2001-07-08 Thread Ged Haywood
Hi there, On Fri, 6 Jul 2001, Knox, Laurie A, NPONS wrote: >I read somewhere that there were potential problems when running >mod_perl and PHP together in Apache, but I haven't been able to find >that info again Is this an issue? I fear it is. Lots of people seem to run into trouble with