I am having this problem trying to display the
generated html from my script. I can prove that the
Template Toolkit is doing it's job and generating the
correct output. Only problem is that my Linux/Apache
is trying to download the content to the client
browser. I have tried as cgi-bin and as mod_perl, same
thing. I can get other cgi and mod_perl scripts to
work and I can view html in these directories. To add
insult to injury, I can get this to work on a very
simular configuration at work. I am guessing it has to
do with my apache conf file. The sections pertaining
to these two directories are:

<Directory /var/www/perl>
    AllowOverride All
    SetHandler perl-script
    #PerlResponseHandler ModPerl::Registry
    #PerlOptions +ParseHeaders
    Options +FollowSymLinks +ExecCGI
    <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
</Directory>

I also have a personal directory that does not work
and it looks like:

<IfModule mod_perl.c>
    <Directory /home/*/public_html/perl>
        SetHandler perl-script
        <IfDefine !APACHE2>
          PerlHandler Apache::PerlRun
        </IfDefine>
        <IfDefine APACHE2>
          PerlResponseHandler ModPerl::PerlRun
        </IfDefine>
        Options -Indexes ExecCGI
        PerlSendHeader On
       <IfModule mod_access.c>
         Order allow,deny
         Allow from all
       </IfModule>
    </Directory>
</IfModule>

Any ideas. ANy help would be appreciated.

Thanks

ab_iron
Frank Wright

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to