Bug 65477 - "BufferSize" not allowed in <VirtualHost> context
Summary: "BufferSize" not allowed in <VirtualHost> context
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_buffer (show other bugs)
Version: 2.4.38
Hardware: PC Linux
: P2 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 09:14 UTC by CS
Modified: 2021-07-30 09:17 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CS 2021-07-30 09:14:27 UTC
The doc https://httpd.apache.org/docs/trunk/mod/mod_buffer.html says that BufferSize Directive of mod_buffer module can be used within server config, virtual host, directory, .htaccess

but when I try using it inside below Virtualhost Config, 

<VirtualHost *:8080>
    ProxyRequests On
    ProxyVia On
    BufferSize 131072
    ErrorLog /home/juice/fp_error.log
    CustomLog /home/juice/fp_access.log combined
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
</VirtualHost>


I'm getting the below error

AH00526: Syntax error on line 64 of /etc/apache2/sites-enabled/mlw.conf:
BufferSize not allowed in <VirtualHost> context
Action 'configtest' failed.

how to use this module and set both InputFilter and OutputFilter?

there is no enough documentation and example snippets on how to use this module.