Hello,
I'm attempting to incorporate Apache::Sandwich into a site I'm working on
and I'm having some problems getting sandwich to work with cgi scripts.
What is happening is that it will insert the header just fine, print the
output, but it doesn't finish the final step which should insert the footer.
And I've gone back and tried the hello world example in the documentation
and get the same results.
I've turned on debugging, and here's what shows up in the errorlog:
inserting /mod_perl/cgi_wrapper.pl GET
Use of uninitialized value in split at
/usr/local/lib/perl5/site_perl/5.6.0/Apache/Sandwich.pm line 83.
My httpd.conf has for following settings for the cgi-bin:
SetHandler perl-script
PerlHandler Apache::Registry
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
PerlSetVar HEADER "/mod_perl/cgi_wrapper.pl"
PerlSetVar FOOTER "/wrapper/footer.html"
It's currently running on RH6.2, apache1.3.14, mod_perl 1.24_01,
Apache::Sandwich 2.04.
If you have any insight as to what I'm doing wrong, I'd greatly appreciate
knowing.
Thanks,
Jonny