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 me to go back to httpd.conf and add the handler setup there, and
restart Apache so the changes will take effect. What if I need more
handlers? What if I need handlers for database transactions, etc?
Editing httpd.conf and restarting Apache everytime seems wierd to me. I
surely don't understand. 

Actually, the only thing I need to do is to add a header/footer to my
webpages. I plan on adding dynamic content based on a database soon.
Couldn't I handle these details in simple .pl files? (Like having a .pm
acting as a library to my website, containing a bunch of well defined
functions).

I browsed the web for some mod_perl example site (with source code so I
can understand how the content is handled) but didn't find anything.

Maybe if you explain me how YOU wrote your website, that'd help. I
really need explanations about handlers too. The more I read the docs,
the more I am confused. 

Thanks for your suggestions and help in advance,

Best regards,

Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Forestieres
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
[EMAIL PROTECTED] 


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to