EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: mochoa on Thursday 23 September 2010, 02:05:56 am



Title: Error viewing cgi-bin/logs_proxy.cgi
Post by: mochoa on Thursday 23 September 2010, 02:05:56 am
Hello, does anybody have this message, when try to access to log/proxy

500 Internal Server Error.


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Title: Re: Error viewing cgi-bin/logs_proxy.cgi
Post by: davvidde on Friday 24 September 2010, 07:25:54 pm
Please send more information: there is a clear misconfguration of the server response/client request. Look in the logs manually: /var/log/.....


Title: Re: Error viewing cgi-bin/logs_proxy.cgi
Post by: mochoa on Saturday 25 September 2010, 12:49:56 am
Hello thank's fro the quick reply. the thing this is clean install, I just enable the proxy and when I try to see the logs in the option : LOGS /PROXY I got the error that I mention.

After checking the error_log log i found this

Unable to write file /var/efw/proxy/viewersettings at /var/efw/header.pl line 2394.
[Fri Sep 24 08:48:04 2010] [error] [client ip client ] Premature end of script headers: /home/httpd/cgi-bin/logs_proxy.cgi
 


Title: Re: Error viewing cgi-bin/logs_proxy.cgi
Post by: davvidde on Saturday 25 September 2010, 09:01:23 am
Are you using the last .iso image released on sourceforge? If I remember the first iso image release last may is bugged.


Title: Re: Error viewing cgi-bin/logs_proxy.cgi
Post by: mochoa on Tuesday 28 September 2010, 12:22:52 am
Yes I install the last version I found in sourceforge.



Title: Re: Error viewing cgi-bin/logs_proxy.cgi
Post by: davvidde on Thursday 30 September 2010, 01:34:36 am
That file is not present in my efw-box and I don't know if it is a temporary file or so other. Look at file permission of  /var/efw/proxy/viewersettings; if is not present try to create the file (touch /var/efw/proxy/viewersettings) and set permission to rw for root (chmod 644 /var/efw/proxy/viewersettings);

Davide.



Hello thank's fro the quick reply. the thing this is clean install, I just enable the proxy and when I try to see the logs in the option : LOGS /PROXY I got the error that I mention.

After checking the error_log log i found this

Unable to write file /var/efw/proxy/viewersettings at /var/efw/header.pl line 2394.
[Fri Sep 24 08:48:04 2010] [error] [client ip client ] Premature end of script headers: /home/httpd/cgi-bin/logs_proxy.cgi