|
OK. After hours of messing around with FoxWeb and Abyss Web Server, I finally was able to get them to work together but in a rather unexpected way.
I'll explain the oddity at the end.
Here the Abyss Web Server configuration that works:
1) General -> Documents Path = 'C:\PROGRAM FILES\FOXWEB\PROGRAMS\'
2) You won't need any aliases just to get FoxWeb to work
3) Under Scripting Parameters -> ISAPI Parameters, add an extension:
ISAPI Filename Extensions = "dll" [I think this is the default anyway]
4) Under Scripting Parameters -> ISAPI Parameters, add an interpreter:
Interpreter = "C:\Program Files\FoxWeb\CGI\FoxWeb.exe"
Arguments = <None>
Type = Standard
Use the associated ... = <checked>
Associated Extensions = fwx
THATS IT!!!
BUT ...
Now here is the weird part:
Assuming you are running the whole show on your workstation, typing http://localhost/show_cgi.fwx should logically execute, but instead it gives an error message 'No script was specified in the URL'
It gets weirder:
Try this http://localhost/show_cgi.fwx /show_cgi.fwx
and viola!!! it works
I'm assuming this behavior is not unique to my computer because of all the different configurations I tried. Here are some of the things I tried:
1) Used %1 or even %1 %2 in the arguments field under interpreters
2) Used FoxWeb.dll instead but the result was even worse. With this configuration, I always get an error message "No program root has been configured for domain "" '. Yes that's two quotation marks with nothing in between, indicating an empty string. The error did get logged in FoxWeb control panel and I'm pasting the contents of the 'Memory Variables' tab:
SERVERVARIABLESLEN Local N 51.00 ( 51.00000000) initvars
POSTDATALEN Local N 0.00 ( 0.00000000) initvars
INPUTBUFFER Local C "" initvars
CONTENTTYPE Local L .F. initvars
I Local L .F. initvars
CURLINE Local L .F. initvars
PREVPOS Local L .F. initvars
NEXTPOS Local L .F. initvars
TOTFIELDS Local L .F. initvars
BOUNDARY Local L .F. initvars
UPLOADEDFILENAME Priv C "" initvars
SERVERNAME Local C "" getprogramroot
PROGRAMROOT Local C "" getprogramroot
Obviously the program root is set correctly or I should get the same message using FoxWeb.exe also.
3) Tried arguments with the DLL interpreter also
4) Played around with Scripting Parameters -> Script Paths with no success.
So, the end result is that I have FoxWeb working with Abyss Web Server
and that is all that matters. I don't know whether it is FoxWeb
or Aprelium Technologies that need to change something to get these two
to work more harmoniously, but I will leave that to the pros to figure
out.
Good day all,
Raheel.