Microsoft Internet Security and Acceleration Server 2004 SDK

RedirectUrl Property of IFPCAccessProperties[C++]

FPCAccessProperties.RedirectUrl [Visual Basic]

[C++]

The RedirectUrl property gets or sets the URL to which HTTP requests are redirected.

HRESULT get_RedirectUrl(
  BSTR* pbstrURL
);

HRESULT put_RedirectUrl(
  BSTR bstrURL
);

Parameters

pbstrURL
Pointer to a BSTR that is set on return to a string value specifying the URL to which HTTP requests are redirected.
bstrURL
BSTR that specifies the URL to which HTTP requests are redirected.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is an empty string.

If a URL is specified ISA Server returns the URL specified to the client or user when an HTTP request is rejected. The URL must be specified in the format used in the following example.
http://widgets.microsoft.com/denied.htm

Note  If you choose to redirect requests, the URL that you specify must be accessible to the clients or users selected. In other words, either the URL must be on an internal computer or some rule must explicitly allow access to the URL.

[Visual Basic]

The RedirectUrl property gets or sets the URL to which HTTP requests are redirected.

Property RedirectUrl As String

Property Value

String that specifies the URL to which HTTP requests are redirected.

Remarks

This property is read/write. Its default value is an empty string.

If a URL is specified ISA Server returns the URL specified to the client or user when an HTTP request is rejected. The URL must be specified in the format used in the following example.
http://widgets.microsoft.com/denied.htm

Note  If you choose to redirect requests, the URL that you specify must be accessible to the clients or users selected. In other words, either the URL must be on an internal computer or some rule must explicitly allow access to the URL.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCAccessProperties