Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

OnDeny (Internet Toolkit)

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

The OnDeny directive provides non-HTTP–based access control to a directory. This directive sends a browser that fails the Limit directive to a specified URL.

Scope

You can use this directive only within Limit sections.

Syntax

OnDeny URL

URL is the URL to which you redirect the browser.

Filename

access.cfg

Default

The default is to let the normal HTTP 401 response deal with the authentication failure.

Example

The following directive redirects any user who connects from outside .ni.com to the URL http://www.ni.com/deny.htm:

<Limit GET>

order deny,allow

deny from all

allow from .ni.com

OnDeny http://www.ni.com/deny.htm

</Limit>


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit