Sslrequire – Oracle B12255-01 User Manual

Page 154

Advertising
background image

Security Services Implemented Within Oracle HTTP Server

8-24

Oracle HTTP Server Administrator’s Guide

SSLRequire

Denies access unless an arbitrarily complex boolean expression is

true. The expression must match the following syntax (given as a BNF grammar
notation):

Category

Value

expr ::= "true" | "false"

"!" expr

expr "&&" expr

expr "||" expr

"(" expr ")"

comp ::=word "==" word | word "eq" word

word "!=" word |word "ne" word

word "<" word |word "lt" word

word "<=" word |word "le" word

word ">" word |word "gt" word

word ">=" word |word "ge" word

word "=~" regex

word "!~" regex

wordlist ::= word

wordlist "," word

word ::= digit

cstring

variable

function

digit ::= [0-9]+

cstring ::= "..."

variable ::= "%{varname}"

Table 8–5

and

Table 8–6

list standard and SSL variables. These are

valid values for varname.

function ::= funcname "(" funcargs ")"

For funcname, the following function is available:

file(filename)

The file function takes one string argument, the filename, and
expands to the contents of the file. This is useful for evaluating the
file’s contents against a regular expression.

Syntax

SSLRequire expression

Default

None

Context

directory

Advertising