by jack2009 » Feb 01 10 11:37 pm
I've read this from Wingate help:
Serve the request
Serve the request
Server root directory
This is the root directory on the local disk where all Internet resources will be retrieved from (typically called wwwroot). Any sub-directories specified in a URL are appended to this pathname to locate resources.
Default filename
The default filename is the html page that will be served when no page is specified by the URL. Typically no page is specified when a user first connects to a given URL and so this is normally the home page filename.
CGI Directory
The directory on the local drive where the CGI script programs are stored (usually this will be a sub-directory of the www root directory).
CGI URL Prefix
The name of the directory where the CGI scripts reside on the local disk. No CGI script will execute unless it exists in the root of this directory (note that it cannot be in a sub-directory either)
CGI timeout
This is how long WinGate will allow a CGI executable to respond/execute before it is considered to have timed out. In previous versions of WinGate this had been a fixed value of 120 seconds. This option now allows you to set a longer period for scripts to execute if required.
When set to serve a request, WinGate will act as a Web Server itself, and serve resources from the local hard disk. For each site you define, you can specify different server root folders, default filenames, whether or not directory browsing is permitted, or CGI (which includes applications like Perl or PHP).
And then I try to create a WEB server, of course, for my local network only.