Hi,
I had to install DSPAM Web-ui recently and didnt want to use apache . I
could get the web-ui to work correctly ;but the stats etc doesnt show up .
When I switched to apache everything was fine!
The apache conf is
=====================
SuexecUserGroup dspam dspam
Alias /dspam /var/www/dspam/
Alias /usr/share/dspam /usr/share/dspam/
LogLevel debug
<Directory /var/www/dspam/>
Addhandler cgi-script .cgi
Options +ExecCGI +MultiViews -Indexes
AllowOverride None
AuthType Basic
AuthName "DSPAM Control Center"
AuthUserFile /etc/dspam/passwd
Require valid-user
DirectoryIndex dspam.cgi
</Directory>
<Directory /usr/share/dspam/>
Options -Indexes
AllowOverride None
</Directory>
==============================
I think the error is because Cherokee doesn't execute the script as dspam
user. Even though i enabled executing the .cgi using the file owner and
files are indeed owned by dspam user .
There is nothing in cherokee logs .
Thanks for all pointers in advance :)
--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net
I had to install DSPAM Web-ui recently and didnt want to use apache . I
could get the web-ui to work correctly ;but the stats etc doesnt show up .
When I switched to apache everything was fine!
The apache conf is
=====================
SuexecUserGroup dspam dspam
Alias /dspam /var/www/dspam/
Alias /usr/share/dspam /usr/share/dspam/
LogLevel debug
<Directory /var/www/dspam/>
Addhandler cgi-script .cgi
Options +ExecCGI +MultiViews -Indexes
AllowOverride None
AuthType Basic
AuthName "DSPAM Control Center"
AuthUserFile /etc/dspam/passwd
Require valid-user
DirectoryIndex dspam.cgi
</Directory>
<Directory /usr/share/dspam/>
Options -Indexes
AllowOverride None
</Directory>
==============================
I think the error is because Cherokee doesn't execute the script as dspam
user. Even though i enabled executing the .cgi using the file owner and
files are indeed owned by dspam user .
There is nothing in cherokee logs .
Thanks for all pointers in advance :)
--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net