[edit] modern_browser_value

Syntax: modern_browser_value string
Default: 1
Context: http
server
location
Reference: modern_browser_value


Directive assigns value for the variables $modern_browser.

[edit] Examples

Note The use of ancient_browser in the link provided below is broken it should use:

ancient_browser "MSIE 4.0" "MSIE 5.0" "MSIE 5.5" "MSIE 6.0";

Example of use: support only recent versions of Chrome, Firefox, Internet Explorer, Safari, Mobile Safari and Palm Pre

[edit] References

Original Documentation


Module: HttpBrowserModule