Pretty much solved my own problem here, but posting my solution for prosperity and people searching the archives:

Upon inspection, it appeared that the REMOTE_USER env variable wasn't being passed to the cgi script, it seems I had to symlink /var/www/ html/.htaccess into /var/www/cgi-bin/ (to clarify, add a symlink in / var/www/cgi-bin/ called .htaccess pointing to /var/www/html/.htaccess)

The contents of which is:

AuthName "Dspam Control Center"
AuthType Basic
AuthUserFile /var/www/html/.htpasswd
AuthGroupFile /dev/null
require valid-user
satisfy any

Hope this helps :)


On 18 Jun 2007, at 12:39, Jason Bhalla-Gaunt wrote:

Hi all, got a lot of issues sorted thanks to one of the members here (sydney).

One current issue I'm now having is I'm not able to log into the webui. I get the following error when trying to log in:

[Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] invalid command syntax. [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] syntax: dspam_admin [function] [arguments] [--profile=PROFILE] [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] \tadd preference [user] [attrib] [value] [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] \tchange preference [user] [attrib] [value] [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] \tdelete preference [user] [attrib] [value] [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] \tlist preference [user] [attrib] [value] [Mon Jun 18 12:34:21 2007] [error] [client 192.168.0.128] \taggregate preference [user]

I've tried logging in as [EMAIL PROTECTED], domain.com and user, all set up via a .htpasswd file, the error I get in the browser is:

"An Error Has Occured
The following error occured while trying to process your request:
System Error. I was unable to determine your identity.

If this problem persists, please contact your administrator. "

Anyone know how to rectify this?

Regards,
___________________

Jason Bhalla-Gaunt
+44 (0)121 233 4838 (Direct Dial)
+44 (0)121 200 2627 (Main Line)

Made Media Ltd
105 Carver St, Birmingham B1 3AP
http://www.mademedia.co.uk/
Registered in England & Wales: 4530365

___________________



___________________

Jason Bhalla-Gaunt
+44 (0)121 233 4838 (Direct Dial)
+44 (0)121 200 2627 (Main Line)

Made Media Ltd
105 Carver St, Birmingham B1 3AP
http://www.mademedia.co.uk/
Registered in England & Wales: 4530365

___________________


Reply via email to