Author: jorton Date: Wed Oct 5 15:57:15 2011 New Revision: 1179283 URL: http://svn.apache.org/viewvc?rev=1179283&view=rev Log: Merge r1179272, r1179266 from trunk: * docs/manual: add note here in light of CVE-2011-3368 - add a security warning, and tweak the example, in light of CVE-2011-3368 Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_autoindex.xml (props changed) httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml Propchange: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_autoindex.xml ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Oct 5 15:57:15 2011 @@ -1 +1 @@ -/httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml:395552,417988,451572,583817,583830,611483,630858,639005,639010,647395,657354,657459,660461,660566,664330,675610,678761,680082,681190,682369,683626,684351,685112,686549,686805,686809,687099,687754,692325,693120,693392,693727-693728,696006,697093,703441,703997,706318,707163,708902,711421,719357,720250,726109,728015,728020,728220,729316-729317,729586,732414,732421,732451,732504,732832,733127,733134,733218-733219,733465,733467,733695,734703,734710,743589,755190,756671,756675,756678,756683,757741,761329,763394,764239,768535,769809,771587,771610,776325,777042,777091,778438-778439,778531,778942,780648,780655,780692,780697,780699,785457,785661,790587,803704,891282,942209,955966,992625,1026743,1058192,1059559-1059589,1070096,1162584 +/httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml:395552,417988,451572,583817,583830,611483,630858,639005,639010,647395,657354,657459,660461,660566,664330,675610,678761,680082,681190,682369,683626,684351,685112,686549,686805,686809,687099,687754,692325,693120,693392,693727-693728,696006,697093,703441,703997,706318,707163,708902,711421,719357,720250,726109,728015,728020,728220,729316-729317,729586,732414,732421,732451,732504,732832,733127,733134,733218-733219,733465,733467,733695,734703,734710,743589,755190,756671,756675,756678,756683,757741,761329,763394,764239,768535,769809,771587,771610,776325,777042,777091,778438-778439,778531,778942,780648,780655,780692,780697,780699,785457,785661,790587,803704,891282,942209,955966,992625,1026743,1058192,1059559-1059589,1070096,1162584,1179266,1179272 Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en?rev=1179283&r1=1179282&r2=1179283&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en (original) +++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en Wed Oct 5 15:57:15 2011 @@ -1296,6 +1296,15 @@ through RewriteRule directive with the [P] flag.

+
+

Security Warning

+

Take care when constructing the target URL of the rule, considering + the security impact from allowing the client influence over the set of + URLs to which your server will act as a proxy. Ensure that the scheme + and hostname part of the URL is either fixed, or does not allow the + client undue influence.

+
+
top

ProxyPassReverse Directive

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml?rev=1179283&r1=1179282&r2=1179283&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml (original) +++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Wed Oct 5 15:57:15 2011 @@ -1122,6 +1122,15 @@ expressions

If you require a more flexible reverse-proxy configuration, see the RewriteRule directive with the [P] flag.

+ + + Security Warning +

Take care when constructing the target URL of the rule, considering + the security impact from allowing the client influence over the set of + URLs to which your server will act as a proxy. Ensure that the scheme + and hostname part of the URL is either fixed, or does not allow the + client undue influence.

+
Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en?rev=1179283&r1=1179282&r2=1179283&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en (original) +++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en Wed Oct 5 15:57:15 2011 @@ -459,7 +459,7 @@ example, if you wanted all image request image server, you might do something like the following:

-RewriteRule (.*)\.(jpg|gif|png) http://images.example.com$1.$2 [P] +RewriteRule /(.*)\.(jpg|gif|png) http://images.example.com/$1.$2 [P]

Use of the [P] flag implies [L] - that is, the request is immediately @@ -474,6 +474,15 @@ error from the proxy module. Use this fl more powerful implementation of the ProxyPass directive, to map remote content into the namespace of the local server.

+
+

Security Warning

+

Take care when constructing the target URL of the rule, considering +the security impact from allowing the client influence over the set of +URLs to which your server will act as a proxy. Ensure that the scheme +and hostname part of the URL is either fixed, or does not allow the +client undue influence.

+
+

Note: mod_proxy must be enabled in order to use this flag.

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml?rev=1179283&r1=1179282&r2=1179283&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml (original) +++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml Wed Oct 5 15:57:15 2011 @@ -459,7 +459,7 @@ example, if you wanted all image request image server, you might do something like the following:

-RewriteRule (.*)\.(jpg|gif|png) http://images.example.com$1.$2 [P] +RewriteRule /(.*)\.(jpg|gif|png) http://images.example.com/$1.$2 [P]

Use of the [P] flag implies [L] - that is, the request is immediately @@ -475,6 +475,15 @@ more powerful implementation of the

ProxyPass directive, to map remote content into the namespace of the local server.

+ +Security Warning +

Take care when constructing the target URL of the rule, considering +the security impact from allowing the client influence over the set of +URLs to which your server will act as a proxy. Ensure that the scheme +and hostname part of the URL is either fixed, or does not allow the +client undue influence.

+
+

Note: mod_proxy must be enabled in order to use this flag.