diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-09-17 15:01:14 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-09-17 15:01:14 +0200 |
commit | c2300c827f769ecde286419fcab29c4ec9698822 (patch) | |
tree | e072b0f40addee24b62f949988ac89f72adb1ac2 /user_guide_src/source/helpers | |
parent | 4c81b72554f2dbac1159442965e7d0760b592e33 (diff) | |
parent | 035f499a59f9a226fa1223387074ef4e28abd4bb (diff) |
Merge pull request #1783 from vlakoff/develop
Better server test in redirect() of URL helper
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r-- | user_guide_src/source/helpers/url_helper.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/user_guide_src/source/helpers/url_helper.rst b/user_guide_src/source/helpers/url_helper.rst index 305454048..1987dfb72 100644 --- a/user_guide_src/source/helpers/url_helper.rst +++ b/user_guide_src/source/helpers/url_helper.rst @@ -303,7 +303,7 @@ link. The function will build the URL based on your config file values. The optional second parameter allows you to force a particular redirection method. The available methods are "location" or "refresh", with location -being faster but less reliable on Windows servers. The default is "auto", +being faster but less reliable on IIS servers. The default is "auto", which will attempt to intelligently choose the method based on the server environment. @@ -325,3 +325,7 @@ engine purposes. The default Response Code is 302. The third parameter is .. note:: For very fine grained control over headers, you should use the `Output Library </libraries/output>` set_header() function. + +.. note:: To IIS users: if you hide the `Server` HTTP header, the "auto" + method won't detect IIS, in that case it is advised you explicitly + use the "refresh" method. |