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

--- Comment #2 from Michal Karm Babacek <michal.babacek@xxxxxxxxx> ---
Weird thing is that if I build on Fedora, with attachment 36050 patch in place
as:

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

And start httpd, send some requests to /, I can see HTTP 502 and the policy
module in action, complaining:

> AH03042: mod_policy: violation, rejecting request: 
>   Response has no explicit freshness lifetime (s-maxage, max-age or Expires/Date), uri: /index.html
> AH03042: mod_policy: violation, rejecting request: 
>   Etag and Last Modified missing, uri: /error/HTTP_BAD_GATEWAY.html.var
> 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

Whereas Windows dies on parsing the httpd-policy.conf:

> AH00082: an unknown filter was not added: POLICY_TYPEPOLICY_LENGTHPOLICY_KEEPALIVEPOLICY_VARYPOLICY_VALIDATIONPOLICY_CONDITIONALPOLICY_NOCACHEPOLICY_MAXAGE

Could it be a ':' vs. ';' PATH delimiter thing on Linux vs Windows? Gonna look
into the module...

-- 
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/msg03070.html on line 101
Call Stack
#TimeMemoryFunctionLocation
10.0008358288{main}( ).../msg03070.html:0

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