On 3/25/02 11:39 AM, Geoffrey Young wrote:
>> In /path/to/apache1.3.24/bin/apachectl add a -DAPACHE_1_3_24 to the
>> httpd command.
>> 
>> In your httpd.conf add
>> 
>> <IfDefined APACHE_1_3_24>
>> ProxyIOBufferSize 1000000000
>> </IfDefined>
>> 
>> I think that should work....
> 
> you could also do something hackish like this to avoid command line switches
> 
> <Perl>
> my ($version) = Apache::Constants::SERVER_VERSION =~ m/(\d{2})/;
> $ProxyIOBufferSize = 10000 if $version >= 24
> </Perl>

I don't want to use defines if I can help it, and it's a proxy server
without mod_perl, so the <Perl> section is out.  Hm, you'd think apache
would have a directive for this, especially since it pukes when it sees
unknown conf directives.  Maybe I'll go nag the apache devs... :)

-John

Reply via email to