git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62567] httpd-policy.conf.in contains HTML garbage and perhaps missing quotes for SetOutputFilter


https://bz.apache.org/bugzilla/show_bug.cgi?id=62567

Michal Karm Babacek <michal.babacek@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36050|0                           |1
        is obsolete|                            |

--- Comment #5 from Michal Karm Babacek <michal.babacek@xxxxxxxxx> ---
Created attachment 36057
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36057&action=edit
Fixes policy module for Linux and Windows CMake build

Hi guys, ASF-BZ-62567.patch fixes the glitch. Could it be merged into trunk?

Linux works
===========

> $ patch -p1 -i ASF-BZ-62567.patch
> patching file CMakeLists.txt
> patching file docs/conf/extra/httpd-policy.conf.in
> patching file configure.in
> patching file docs/conf/httpd.conf.in

> CFLAGS="-O2" ./configure --enable-http2 --enable-policy  --enable-load-all-modules --prefix=/home/karm/Projects/MOD_CLUSTER/httpd-trunk-build;make;make install

> sed -i 's/LogLevel warn/LogLevel debug/g' ../conf/httpd.conf
> sed -i 's/#Include /Include /g' ../conf/httpd.conf

> [Mon Jul 30 14:58:23.147221 2018] [policy:error] [pid 23055:tid 140216748517120] 
>     [client 127.0.0.1:44016] AH03042: mod_policy: violation, rejecting request: 
>     Etag and Last Modified missing, uri: /error/HTTP_BAD_GATEWAY.html.var
> [Mon Jul 30 14:58:23.147253 2018] [policy:error] [pid 23055:tid 140216748517120] 
>     [client 127.0.0.1:44016] AH03042: mod_policy: violation, rejecting request: 
>     Response has no explicit freshness lifetime (s-maxage, max-age or Expires/Date), uri: /error/HTTP_BAD_GATEWAY.html.var

Windows works
=============

> [Mon Jul 30 07:58:30.409709 2018] [mpm_winnt:notice] [pid 5332:tid 500]
>      AH00354: Child: Starting 150 worker threads.
> [Mon Jul 30 07:58:31.337382 2018] [policy:error] [pid 5332:tid 3680]
>      [client ::1:56621] AH03042: mod_policy: violation, rejecting request: 
>      Response has no explicit freshness lifetime (s-maxage, max-age or Expires/Date), uri: /index.html
> [Mon Jul 30 07:58:31.339390 2018] [policy:error] [pid 5332:tid 3680]
>      [client ::1:56621] AH03042: mod_policy: violation, rejecting request: 
>      Etag and Last Modified missing, uri: /error/HTTP_BAD_GATEWAY.html.var
> [Mon Jul 30 07:58:31.339390 2018] [policy:error] [pid 5332:tid 3680]
>      [client ::1:56621] AH03042: mod_policy: violation, rejecting request: 
>      Response has no explicit freshness lifetime (s-maxage, max-age or Expires/Date), uri: /error/HTTP_BAD_GATEWAY.html.var

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg03089.html on line 128
Call Stack
#TimeMemoryFunctionLocation
10.0007368632{main}( ).../msg03089.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg03089.html on line 128
Call Stack
#TimeMemoryFunctionLocation
10.0007368632{main}( ).../msg03089.html:0