JANUS WEB DISALLOW: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:JANUS WEB DISALLOW}}
<span class="pageSubtitle">Block access to a URL</span>
<span class="pageSubtitle">Block access to a URL</span>


The JANUS WEB DISALLOW subcommand indicates that any request for a URL that matches a specified pattern (the '''url''' value) is '''not''' allowed access; that is, it is forbidden.
The <var>JANUS WEB DISALLOW</var> subcommand indicates that any request for a URL that matches a specified pattern (the '''url''' value) is '''not''' allowed access; that is, it is forbidden.


==Syntax==
==Syntax==
<p class="syntax">JANUS WEB portname DISALLOW [method] url
<p class="syntax">JANUS WEB <span class="term">portname</span> DISALLOW [<span class="term">method</span>] <span class="term">url</span>
</p>
</p>


<var class="term">portname</var>,
<var class="term">method</var>, and
<var class="term">url</var> are described under the <var>[[JANUS WEB]]</var> command.


'''Portname''', '''method''', and '''url''' are described under the [[JANUS WEB]] command.
Typically, a <var>JANUS WEB DISALLOW</var> rule is followed by one or more <var>JANUS WEB ALLOW</var> rules for the same  
 
<var class="term">url</var> (or for subsets of  
Typically, a JANUS WEB DISALLOW rule is followed by one or more JANUS WEB ALLOW rules for the same '''url''' (or for subsets of '''url''') that grant access to specific users or sets of users to some or all of the URLs indicated in the DISALLOW rule. Users not matching the criteria for subsequent ALLOW rules are blocked from the indicated set of URLs by the DISALLOW rule.
<var class="term">url</var>) that grant access to specific users or sets of users to some or all of the URLs indicated in the <var>DISALLOW</var> rule. Users not matching the criteria for subsequent <var>ALLOW</var> rules are blocked from the indicated set of URLs by the <var>DISALLOW</var> rule.


==See also==
==See also==
Line 18: Line 20:
<li>[[List of Janus commands]]
<li>[[List of Janus commands]]
<li>[[List of JANUS WEB subcommands]]
<li>[[List of JANUS WEB subcommands]]
<li>[[Defining Web rules|"Defining Web rules"]]
<li>[[Defining Web rules]]
</ul>
</ul>


[[Category:JANUS WEB subcommands|JANUS WEB DISALLOW]]
[[Category:JANUS WEB subcommands|JANUS WEB DISALLOW]]

Latest revision as of 20:52, 27 January 2016

Block access to a URL

The JANUS WEB DISALLOW subcommand indicates that any request for a URL that matches a specified pattern (the url value) is not allowed access; that is, it is forbidden.

Syntax

JANUS WEB portname DISALLOW [method] url

portname, method, and url are described under the JANUS WEB command.

Typically, a JANUS WEB DISALLOW rule is followed by one or more JANUS WEB ALLOW rules for the same url (or for subsets of url) that grant access to specific users or sets of users to some or all of the URLs indicated in the DISALLOW rule. Users not matching the criteria for subsequent ALLOW rules are blocked from the indicated set of URLs by the DISALLOW rule.

See also