Re: htaccess

2002-06-15 Thread Ron Pero
Yes. Use the LWP module, LWP::UserAgent. Its credentials() method lets you add the username and password to the request. At 05:25 PM 06/15/02 +0100, Tiago Almeida wrote: Hello, Can anyone tell me if theres any way to authenticate automatically to a htaccess protected web page with a Perl

Re: separating C from V in MVC

2002-06-11 Thread Ron Pero
At 01:01 PM 06/11/02 -0400, John Siracusa wrote: On 6/11/02 12:46 PM, Perrin Harkins wrote: John Hurst wrote: Still, I don't think that replacing this: Location /search SetHandler perl-script PerlHandler Controller::Search /Location with this: [% Ctrl.Search() %] makes

2 New Books Needed (was MVC soup, separating C from V in MVC)

2002-06-11 Thread Ron Pero
Two good books could be written on these subjects: * Mastering Design Patterns with Perl (I understand that Mastering Algorithms with Perl sells quite well) * Rapid Web Application Development with Perl The second one would describe the various application frameworks available, and related

2 New Books Needed (was MVC soup, separating C from V in MVC)

2002-06-09 Thread Ron Pero
Two good books could be written on these subjects: * Mastering Design Patterns with Perl (I understand that Mastering Algorithms with Perl sells quite well) * Rapid Web Application Development with Perl The second one would describe the various application frameworks available, and related

Re: The latest templating system: PSP in DDJ

2001-07-09 Thread Ron Pero
At 01:01 AM 07/08/01 -0400, Perrin Harkins wrote: The latter gives you the ability to develop custom tag modules to encapsulate complex server-side behaviors and business rules into simple XML-like elements that content developers can use. PSP shares the same basic elements with JSP... Good

The latest templating system: PSP in DDJ

2001-07-07 Thread Ron Pero
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 Here is an excerpt: PSP is modeled after JSP. It is neither an ASP nor a JSP port. PSP includes

Re: Authentication Nightmare

2000-10-16 Thread Ron Pero
Is it simply the "Location" http directive that you need? print "Location: http://www.yourdomain.com/path/to/filename.html\n\n"; For this to work, you must not have printed an html header already, such as "Content-type: text/html\n\n" (or the equivalent in cgi.pm). This is the basic redirect

Strange exit error

2000-08-19 Thread Ron Pero
Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at /usr/local/etc/httpd/cgi-bin/myscript.cgi line 366. line 366

RE: Strange exit error

2000-08-19 Thread Ron Pero
Thanks again! Ron At 07:06 PM 08/19/00 +0200, you wrote: On Sat, 19 Aug 2000, Ron Pero wrote: Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When th

Do you use iServer?

2000-08-19 Thread Ron Pero
. Can run my own Apache server with mod_perl, and more.) Regards, Ron Pero

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Ron Pero
Maybe we should have a "Congratulations: you wrote a templating system!" web memorial. :) One brief serious note: I think the fact that there are SO MANY is a tribute to just how easy it is to process text in Perl. I don't think there are 47 templating system for Java. :) A few days ago I

Doing Templates One Better, Web DB RAD scripts

2000-07-30 Thread Ron Pero
Dear All There are a few scripts out there that allege to make it easy to set up database administration web pages. The idea is that a nonprogrammer writes up, in plain but structured text, specifications for a database or html form. Then a script parses that text, creates an html form with

Re: perl code to handle a multipart/form-data POST

2000-04-30 Thread Ron Pero
Dear Sam CGI.pm is the module of choice on this. It comes with the standard distribution, so you already have it (probably). In the documentation, go to the section titled, CREATING A FILE UPLOAD FIELD. It is easy. Ron At 10:33 PM 04/29/00 -0400, Sam Carleton wrote: Sam Carleton wrote: I am

Re: mod_perl virtual web hosting

2000-04-12 Thread Ron Pero
I haven't used it, but a friend mentioned that iserver has virtual servers on which you can configure mod_perl. http://www.iserver.com/ At 01:26 PM 04/12/00 -0400, Gagan Prakash wrote: Hello, I have been looking for mod_perl virtual web hosting companies who have fast servers and good

RE: Novel technique for dynamic web page generation

2000-01-30 Thread Ron Pero
At 07:57 AM 01/30/00 -0800, Paul J. Lucas wrote: On Sun, 30 Jan 2000, Gerald Richter wrote: For that reason HTML::Embperl uses the [ ] blocks to embedd Perl. This is normal Text in Dreamwaver, Frontapge or wahtever and causes no problems. Except I think the designer seeing Perl code