Subject: Re: How to run http server tests?

From: Johannes Sixt <[email-masked]>
Date: Wed, 14 Dec 2011 23:02:38 +0100

Am 14.12.2011 22:39, schrieb Jeff King:
> On Wed, Dec 14, 2011 at 10:20:07PM +0100, Johannes Sixt wrote:
>> diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
>> index 0a4cdfa..e5cb3f9 100644
>> --- a/t/lib-httpd/apache.conf
>> +++ b/t/lib-httpd/apache.conf
>> @@ -13,4 +13,4 @@ ErrorLog error.log
>>  </IfModule>
>> -<IfModule !mod_cgi.c>
>> -       LoadModule cgi_module modules/mod_cgi.so
>> +<IfModule !mod_scgi.c>
>> +       LoadModule scgi_module modules/mod_scgi.so
>>  </IfModule>
> 
> Hmm. I know nothing about scgi, but a quick google indicates that it is
> a separate protocol from CGI and is more like FastCGI (i.e., it wants to
> spawn a long-running CGI server and contact it over a separate
> protocol).
> 
> So I suspect you are not able to run http-backend, and thus you have no
> smart-http support in your setup.

Thanks, that put me on the right track. I have to use

  LIB_HTTPD_MODULE_PATH=/usr/lib64/apache2-prefork

-- Hannes