![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||||
|
On Feb 11, 2006, at 02:43 , liushu wrote: According to the manual.pdf.I create directory... So you configure /archive/cgi to host the ArchiveDataServer CGI tool, but then you try to execute it in /cgi-bin/xmlrpc ?? Then I restart httpd by /etc/rc.d/init.d/httpd restart.I runWell, it means that the client got to the web server, and it received some response, but nothing that looked like a valid XML-RPC response. In this case it often helps to look at the raw data server response yourself: telnet my_web_server_host 80 GET /cgi-bin/xmlrpc/ArchiveDataServer.cgi HTTP/1.0<RETURN> <RETURN> You should see an error message about ``XML-RPC Fault: Expected HTTP method POST'', indicating that the data server was launched correctly and was looking for a proper XML-RPC request. If you see only pages of binary-looking garbage, your web server doesn't recognize ArchiveDataServer.cgi as a CGI program, and instead of running it, you get a copy of it. It might help to review which web directories you intend to configure as CGI directories. Refer to the manual for your web server how to do that. The archiver manual can only give suggestions. And I have some questions:As I know that ArchiveEngine is web server too,soCorrect, they're separate: The engine takes samples and serves status info via its httpd, your Apache or other httpd serves web pages and maybe data via the ArchiveDataServer.cgi httpd like Apache which executes ArchiveDataServer as a CGI tool.Or if I use ArchiveDataServer,which one I need,ArchiveEngine or httpd running? -Kay
| ||||||||||||||||
ANJ, 02 Sep 2010 |
![]() · Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |