Includes in mod_perl

2004-01-16 Thread Hemond, Steve
Hi ppl, I've started programming with Perl some months ago and I want to switch to mod_perl for my website (my older website is an asp website). I readed the tutorials on perl.apache.org but I am still very confused and don't know how to start my new website with mod_perl. Actually : 1. I have o

RE : Includes in mod_perl

2004-01-16 Thread Hemond, Steve
rammer Smurfit-Stone, Ressources Forestières La Tuque, P.Q. Tel.: (819) 676-8100 X2833 [EMAIL PROTECTED] > -Original Message- > From: petersm [mailto:[EMAIL PROTECTED] > Sent: Friday, January 16, 2004 4:20 PM > To: Hemond,Steve; [EMAIL PROTECTED] > Subject: Re: Includes i

Question about handlers

2004-01-26 Thread Hemond, Steve
Hi ppl, I have read the docs on perl.apache.org and I still don't understand certain points. mod_perl seem to encourage handlers for handling dynamic website content. I now know to create an handler to automatically add a header and a footer to any .html called in a certain location. This forces m

Handlers vs Perl scripts

2004-01-27 Thread Hemond, Steve
Hi again! After taking too much time at debugging my Mason bugs (unsuccessfully) , I decided to abandon the idea of embedding perl code in my web pages. I will setup ONE handler that will only generate a header and a footer on each webpage. I'm not at ease with the idea of having a bunch of handl

RE : Handlers vs Perl scripts

2004-01-27 Thread Hemond, Steve
the modules into your Mason web pages, > which minimises the amount of perl code in your html. It also > makes it much easier to debug - you can load the module into a > test script and check the return values of each function. > > Mason makes handling query strings a br

Testing mod_perl

2004-02-03 Thread Hemond, Steve
Hi people, I just installed Apache2/mod_perl2 and wants to test it. I don't plan to use any templating system so I will do plain CGI. I, however, would like to take profit of the apache::registry for performance. Here is my conf for my site : SetHandler modperl PerlSendHeader On PerlHand

Handlers/locations

2004-02-04 Thread Hemond, Steve
Hi ppl, I have setup Apache2/mod_perl and started writing perl scripts to generate html code. I have a /wood/ directory with two subdirs : /perl/ and /images/ Actually I have setup httpd.conf this way : SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +Parse

RE : Handlers/locations

2004-02-04 Thread Hemond, Steve
t it > demonstrates the basic idea. > > When I was new to Apache and mod_perl, the Apache doc page > that described how to combined multiple directives really > turned the lightbulb on, and it's probably worth reviewing: > > http://httpd.apache.org/docs-2.0/secti