Hi,
I'm trying to get the web interface working. System details:
Redhat 9
Apache 2.0
Sendmail
I put the index.pl into my cgi-bin directory, everything else is in /usr/locals/src/spamgourmet_0.9.1
My apache config for this is:
ScriptAlias /cgi-bin/ "/var/www/www.bayerfamily.net/cgi-bin/"
<Directory "/var/www/www.bayerfamily.net/cgi-bin" >
DirectoryIndex index.pl
SetEnv SG_DIR /usr/local/src/spamgourmet_0.9.1
SetEnv SG_CONF_FILE /usr/local/src/spamgourmet_0.9.1/conf/spamgourmet.conf
SetHandler perl-script
AddHandler cgi-script .pl
PerlHandler ModPerl::Registry::handler
AllowOverride None
Options ExecCGI FollowSymLinks Includes
Order allow,deny
Allow from all
</Directory>
The symptoms are that when I go to the proper URL, I just get a blank screen. The error log shows the following:
Use of uninitialized value in concatenation (.) or string at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1148.
Use of uninitialized value in concatenation (.) or string at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1169.
Use of uninitialized value in concatenation (.) or string at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1188.
Use of uninitialized value in concatenation (.) or string at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1189.
Use of uninitialized value in concatenation (.) or string at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1190.
syswrite() on closed filehandle FILE at /var/www/www.bayerfamily.net/cgi-bin/index.pl line 1193.
Any help would be appreciated.
Thanks in advance.
JBB