Syntax: | modern_browser modern_browser |
---|---|
Default: | — |
Context: | http , server , location |
Specifies a version starting from which a browser is considered modern. A browser can be any one of the following: msie
, gecko
(browsers based on Mozilla), opera
, safari
, or konqueror
.
Versions can be specified in the following formats: X, X.X, X.X.X, or X.X.X.X. The maximum values for each of the format are 4000, 4000.99, 4000.99.99, and 4000.99.99.99, respectively.
The special value unlisted
specifies to consider a browser as modern if it was not listed by the modern_browser
and ancient_browser directives. Otherwise such a browser is considered ancient. If a request does not provide the “User-Agent” field in the header, the browser is treated as not being listed.
Please login to continue.