The Web Server tab found in the WWW Proxy Service properties, allows you to have the WWW Proxy Service act like a web server whenever it receives a server request from a client with a particular host header tag. When it receives the server request that contains a particular host tag (such as www.wingate.com) it will attempt to "serve" a resource (normally an html page) to the client.
WinGate has the ability to also provide web server support for common CGI executables such as Pearl and PHP.
To act like a web server the WWW proxy must be configured to listen for Server requests on the network interface and Service port clients will be connecting to the web server on.
To have WinGate respond to Server requests from the Internet, the Internet connection (or network adapter marked as External by WinGate) needs to be bound to the WWW Proxy Service so that it can listen for these requests.
Due to the increased security risk associated with binding an external network connection to the WWW Proxy Service, we recommend that the following security measures be taken.
Whenever you create a new service, it will register all of the events that can happen during its operation to the Events system. Event processors, such as the WinGate Policy system, allow you to configure how they will respond whenever the registered event takes place.
When you are configuring WinGate to respond to server requests from the Internet (i.e. web serving) you should create a policy based on each of the ConnectRequest and ProxyRequest events for this new service. These policies should simply be set to disconnect or reject anyone who makes a connect request or proxy request to this service using the appropriate Result policy items. This will stop anonymous Internet users from using WinGate as a proxy server.
The WWW Proxy Service can be configured to act as an Intranet server by only binding network adapters marked as Internal by WinGate to the service (this is done by default for any WWW Proxy Service you create).
Regardless of which interface the WWW Proxy will be serving pages to the process for configuring the Web server is the same.
The Edit Web Server settings consist of two tabs:
This is where the executable that will be used to open specific file extensions used can be set if required. CGI executables such as PHP.exe should be entered here if they are to be used in the Web Server.
When adding an executable extension do not include a period (".") in front of the extension. Just enter the actual extension only.
Web pages that contain forms allow users to enter and submit information to the web server. In turn the web server will execute the specified script and process the information that has been passed. Most often the job of the script will be to enter that information in a database, or generate a new html page based on the user information entered.
It is important to note that where a script is generating a new HTML page, it must generate the entire page including all header information ( NPH only - Non-Parsed Headers ). Some web servers will generate the header information for you before serving the page, but the WWW Proxy Service that has been configured to serve web pages will not.
©2012 Qbik New Zealand Limited
no comments yet...
You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:
You can create a new account or reset your password at forum.wingate.com.