Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

DSPAM cgi interface

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


anoopalias01 at gmail

Mar 5, 2012, 8:14 AM

Post #1 of 2 (615 views)
Permalink
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


lists at dan

Mar 5, 2012, 11:55 PM

Post #2 of 2 (587 views)
Permalink
Re: DSPAM cgi interface [In reply to]

What errors are you getting?

On Tue, Mar 6, 2012 at 3:14 AM, Anoop Alias <anoopalias01 [at] gmail> 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 [at] lists
> http://lists.octality.com/listinfo/cherokee
>
>

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.