]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-proxy_content_base.patch
rel 15; builds
[packages/apache1.git] / apache1-proxy_content_base.patch
1 diff -urNp -x '*.orig' apache_1.3.42.org/src/modules/proxy/proxy_http.c apache_1.3.42/src/modules/proxy/proxy_http.c
2 --- apache_1.3.42.org/src/modules/proxy/proxy_http.c    2023-02-02 22:43:29.949834915 +0100
3 +++ apache_1.3.42/src/modules/proxy/proxy_http.c        2023-02-02 22:43:30.219834915 +0100
4 @@ -604,6 +604,8 @@ int ap_proxy_http_handler(request_rec *r
5          ap_table_set(resp_hdrs, "URI", proxy_location_reverse_map(r, urlstr));
6      if ((urlstr = ap_table_get(resp_hdrs, "Content-Location")) != NULL)
7          ap_table_set(resp_hdrs, "Content-Location", proxy_location_reverse_map(r, urlstr));
8 +    if ((urlstr = ap_table_get(resp_hdrs, "Content-Base")) != NULL)
9 +        ap_table_set(resp_hdrs, "Content-Base", proxy_location_reverse_map(r, urlstr));
10  
11  /* check if NoCache directive on this host */
12    {
This page took 0.54604 seconds and 3 git commands to generate.