I successfully installed the backend (at least I think so as spameater produced a debug file with senseful output) of spamgourmet on my own server. It was not that hard at all
However, I have a problem when I try to run the frontend. I have installed the regular apache and -mod-perl packages that come with Debian Squeeze. I also created a virtual domain and allowed for the entire domain to execute cgi and pl files. However, I only get an error 500 when I point my browser to the domain. I checked the file permissions too. This is the output of /var/log/apache2/xxxx.log:
- Code: Select all
[Sat Jul 16 23:31:43 2011] [error] [client 88.68.56.11] readdir() attempted on invalid dirhandle DIR at /storage/home/spamgourmet/modules/Mail/Spamgourmet/Dialogs.pm line 50.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 688.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value $stats{"forwardcount"} in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 1249.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value $stats{"spamcount"} in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 1270.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value $stats{"counterID"} in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 1289.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value $stats{"todaycount"} in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 1290.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Use of uninitialized value $stats{"todayforwarded"} in concatenation (.) or string at /storage/home/spamgourmet/www/html/index.pl line 1291.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] syswrite() on closed filehandle FILE at /storage/home/spamgourmet/www/html/index.pl line 1294.
[Sat Jul 16 23:31:45 2011] [error] [client 88.68.56.11] Premature end of script headers: index.pl
This is basically the same ouput as if I run the index.pl manually from CLI.
So.... I am lost here. What am I doing wrong?
Thanks
superniemand