Mailing List Archive

DSPAM cgi interface
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
Re: DSPAM cgi interface [ In reply to ]
What errors are you getting?

On Tue, Mar 6, 2012 at 3:14 AM, Anoop Alias <anoopalias01@gmail.com> wrote:

> 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
>
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
>