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.
<% 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
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.