Kbase P92695: Unable to access webspeed broker using cgiip.wsc file and Apache
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/11/2004 |
|
Status: Unverified
FACT(s) (Environment):
WebSpeed 9.X
FACT(s) (Environment):
OpenEdge 10.0X
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
FACT(s) (Environment):
Apache 1.3X
FACT(s) (Environment):
Apache 2.X
SYMPTOM(s):
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
More information about this error may be available in the server error log.
Apache log says
cgiip.wsc is not executable; ensure interpreted scripts have "#!" first line
Unable to access webspeed broker using cgiip.wsc file and Apache web server
CAUSE:
The cgiip.wsc is not an executable as Apache expects.
FIX:
Use cgiip.exe instead cgiip.wsc with Apache webserver
-or-
In order to keep the broker name, etc hidden, the mod_rewrite for the Apache could be installed and rewrite rules have to be created within Apache configuration as per following example:
Script header:
URL: <http://myserver/example/whatever/example.htm>
#! C:/progress/bin/cgiip.exe ?i example /** the file example?s first line **/
URL-rewrite 1:
URL: <http://myserver/example/whatever/example.htm>
RewriteRule /^\/example\/whatever/c:\/webserver\/cgi\/cgiip.exe\/WService=example/i [type=application/x-httpd-cgi]
For more details on Apache and mod_rewrite, please check the Apache documentation.