Date:  02/27/2011 02:45:49 PM Msg ID:  004237
From:  FoxWeb Support Thread:  004236
Subject:  Re: Show_Cgi.fwx does not work
Apache checks for the existence of the requested resource, before passing control to the script handler. If the resource (in this case, show_cgi.fwx) does not exist, it reports an error.
 
To work around this issue, simply create an empty file, named show_cgi.fwx, in your FoxWeb Program Root. You will need to do the same with show_channels.fwx, show_channels2.fwx and fwadmin.fwx if you want to run these programs too. 
FoxWeb Support Team
support@foxweb.com email
Sent by John on 02/26/2011 08:39:48 PM:
 I am running Foxweb 4.3 with Apache 2.2.17 and everything works... except I cannot make Show_Cgi.fwx work. I have tried http://localhost/show_cgi.fwx and tried it from the fwadmin.fwx module - channel status. Both give me this error:
 
There was an error during the interpretation of your request
Message:  Script "SHOW_CGI..FWX" is invalid, non-existent, or has not been compiled 
 
I can run all the Foxweb examples if I place them in my Foxweb Program Root folder or change the program root to c:\documents and settings\all users\documents\foxweb\scripts\  in the virtual servers tab of the Foxweb Control Center.
 
I can run Fwadmin.fwx just fine.
 
I can also access my created index.html in my web folder via the definitions in my httpd.conf  so Apache seems to be working fine. The mystery of the show_cgi.fwx is confusing. Can you give me an idea of what I can change or check?
 

Here are my Server Variables:

 

Program Path = C:\PO_SCRIPTS\
Current Channel = 1
HTTP_ACCEPT=image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
HTTP_REFERER=http://localhost/fwadmin..fwx?AdminScript=menu
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Zune 4.7)
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_HOST=localhost
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=sec3BD86629_id=john; FW_SessionID=9698616JP01
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Intuit\QBPOSSDKRuntime;C:\PBWin90\BIN;C:\Program Files\QuickTime\QTSystem\
SystemRoot=C:\WINDOWS
COMSPEC=C:\WINDOWS\system32\cmd.exe
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR=C:\WINDOWS
SERVER_SIGNATURE=
SERVER_SOFTWARE=Apache/2.2.17 (Win32)
SERVER_NAME=localhost
SERVER_ADDR=127.0.0.1
SERVER_PORT=80
REMOTE_ADDR=127.0.0.1
DOCUMENT_ROOT=C:/PostcardsOnly/www
SERVER_ADMIN=john@marketing4insurance.com
SCRIPT_FILENAME=C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/FoxWeb.exe
REMOTE_PORT=1397
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.1
REQUEST_METHOD=GET
QUERY_STRING=AdminScriptName=fwadmin...fwx
REQUEST_URI=/fwErrorLog.fwx?AdminScriptName=fwadmin...fwx
SCRIPT_NAME=/fwErrorLog.fwx
PATH_INFO=/fwErrorLog..fwx
PATH_TRANSLATED=C:\Program Files\Apache Software Foundation\Apache2.2\cgi-bin\FoxWeb.exe\fwErrorLog...fwx

Thanks for your help.

 

John Sullivan