Here are snippets of my httpd.conf file :
-----------------------------------------
...
LoadModule perl_module modules/mod_perl.so
...
DocumentRoot "/usr/local/apache2/htdocs"
...
<Directory "/usr/local/apache2/htdocs">
Options Indexes +Includes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
...
AddHandler cgi-script .cgi .pl
...
ScriptAlias /cgi-bin/ "/usr/local/apache2/htdocs/cgi-bin/"
...
<Directory "/usr/local/apache2/htdocs/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
...
Does that help a bit?
Thanks again,
Regards,
Steve Hemond
Programmeur Analyste / Analyst Programmer
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 in mod_perl
>
>
> Hemond, Steve <[EMAIL PROTECTED]> wrote
>
> > Actually :
> > 1. I have only one website running on my Apache webserver (in
> > /htdocs/)
>
> Maybe if you show us the relevant portions of your
> httpd.conf file we could point you in the right direction
> since this is were most of that is set up.
>
> > 2. I would like to use a templating system so I could
> write plain html
> > code and include dynamic content between special tags. 3.
> I would like
> > my webpages to have the same header and footer.
>
> I really enjoy HTML::Template. I use it for both mod_perl
> and plain old cgi scripts and it works wonderfully. I
> especially like it since even the custom tags that it uses
> to fill in dynamic content look and behave like HTML.
>
> Michael Peters
> Venzia
>
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html