Here's some information that is specific to FoxWeb 2 and above. It may work for older versions, but I'm not sure:
You can add default.fwx to your list of default documents in the server configuration, but in order for your document to be called, it must be visible to the Web server. By default, FoxWeb scripts are in a location outside the Web tree, so they are not visible to the Web server. There are three potential solutions:
Configure your server to automatically redirect to your default script. You can do this by setting up your virtual directory settings, or by creating a static default document with a redirect META tag. In our opinion, this is the easiest and most flexible solution.
Place an empty file named default.fwx in the Web tree. Here's an example:
FoxWeb Program Root = D:\FoxWeb\
Web Site Root = D:\inetpub\wwwroot\
Default documents configured for Web site (in this order): main.fwx, default.htm.
Let's assume that the path to the real main.fwx is D:\FoxWeb\main.fwx and that you can call it with http://www.myserver.com/main.fwx
. Let's also assume that you also have a file named D:\inetpub\wwwroot\default.htm. Even though main.fwx is listed prior to default.htm in your list of default documents, the Web server does not "see" mail.fwx, so the URL http://www.myserver.com/
would return the contents of default.htm.
Now create an empty file, named main.fwx in D:\inetpub\wwwroot. Once you do this, the Web server will find main.fwx before default.htm and will call your script.
Place your scripts in the same locations as your static documents and enable the Use Web Server's Directory Mappings option. Please note that there are security concerns related to this solution. Read the relevant information in the FoxWeb documentation before going down this road.