Configuring for ASP.Net VBScript
This article describes configuration of the Proxy Host for the ASP VBScript HTTP client. VBScript, a light version of Visual Basic, is the default scripting language in ASP. The language supports asynchronous programming, which can make your proxy requests run rapidly, with reduced likelihood of blocking or timeouts. ASP.NET is well suited for proxy operations on behalf of large and medium-sized organizations.
ProxyMesh supports configuration of the Proxy Host with Basic Authentication as well as IP address authentication. With the latter, you don't need to use a username and password.
<% Const HTTPREQUEST_PROXYSETTING_PROXY = 2 Const HTTPREQUEST_SETCREDENTIALS_FOR_PROXY = 1 Dim responseText With Server.CreateObject("WinHttp.WinHttpRequest.5.1") .SetProxy HTTPREQUEST_PROXYSETTING_PROXY, "PROXYHOST:PORT" .Open "GET", "http://example.com" .SetCredentials "USERNAME", "PASSWORD", HTTPREQUEST_SETCREDENTIALS_FOR_PROXY .Send responseText = .ResponseText End With %>
ASP VBS in Apache
Although ASP and VBS are Microsoft products, you can run them on Apache, the open source web server.
However, you’ll need to install Mono, an open source .NET project, so that you can also install a plugin for Apache to handle ASP pages.
However, you’ll need to install Mono, an open source .NET project, so that you can also install a plugin for Apache to handle ASP pages.