Running s9y with gatling

Found a bug? Tell us!!
Post Reply
SvOlli
Regular
Posts: 9
Joined: Wed Mar 03, 2010 7:39 pm

Running s9y with gatling

Post by SvOlli »

Hello,

I want to migrate my blog from an Apache webserver to a rather nice webserver called gatling available at http://www.fefe.de/gatling/ . It uses fast-cgi for the PHP integration. As a first test I wanted to set up a vanilla blog to see if it works, and I ran into the following problem: when using with https, the first two pages of the setup work fine, but instead of seeing the "setup completed" page I get a 0-byte reply, without any error message from PHP. On pure http without ssl this works fine.

Any idea what could be missing, or what could be broken?

P.S.: The output of the phpinfo()-command is available at:
https://svolli.dynxs.de/phpinfo.php
and
http://svolli.dynxs.de:81/phpinfo.php
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Running s9y with gatling

Post by garvinhicking »

Hi!

Upon install, s9y tries to perform a PHP-based fsockopen command to see if the .htaccess it creates breaks the webserver. Some kind of mod_php/CGI detection as well takes place.

When using SSL for the installation, it could be that your PHP is incapable to perform that fsockopen and stalls?

Sadly I don't currently have the time to try the server on my own, but if you'd like to get your hands dirty I could show to the functions that s9y calls on the installation progress. the one that's most likely causing the trouble is found in include/functions_installer.inc.php, serendipity_installFiles().

You might want to place a die('blabla') in there to see at which point it stalls?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SvOlli
Regular
Posts: 9
Joined: Wed Mar 03, 2010 7:39 pm

Re: Running s9y with gatling

Post by SvOlli »

Hello Garvin,

thanks for the help. I just sent a PM to you with more details.

SvOlli
SvOlli
Regular
Posts: 9
Joined: Wed Mar 03, 2010 7:39 pm

Re: Running s9y with gatling

Post by SvOlli »

I found the cause of my problems: gatling seems to have a bug in the FastCGI interface.

When using SSL, the payload of the POST request gets dropped after CONTENT_LENGTH.
Post Reply