Apache gives empty reply
        Posted  
        
            by Jorge Bernal
        on Server Fault
        
        See other posts from Server Fault
        
            or by Jorge Bernal
        
        
        
        Published on 2009-09-18T12:20:12Z
        Indexed on 
            2010/06/08
            19:32 UTC
        
        
        Read the original article
        Hit count: 619
        
It happens randomly, and only on moodle installations. Apache don't add a line in the logs when this happens, and I don't know where to look.
koke@escher:~/Code/eboxhq/moodle[master]$ curl -I http://training.ebox-technologies.com/login/signup.php?course=WNA001 
curl: (52) Empty reply from server
koke@escher:~/Code/eboxhq/moodle[master]$ curl -I http://training.ebox-technologies.com/login/signup.php?course=WNA001 
HTTP/1.1 200 OK
The apache conf is quite straightforward and works perfectly in the other vhosts
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /srv/apache/training.ebox-technologies.com/htdocs
    ServerName training.eboxhq.com
    ErrorLog /var/log/apache2/training.ebox-technologies.com-error.log
    CustomLog /var/log/apache2/training.ebox-technologies.com-access.log combined
        <FilesMatch "\.(ico|gif|jpe?g|png|js|css)$">
                ExpiresActive On
                ExpiresDefault "access plus 1 week"
                Header add Cache-Control public
        </FilesMatch>
</VirtualHost>
Using apache 2.2.9 php 5.2.6 and moodle 1.9.5+ (Build: 20090722)
Any ideas welcome :)
© Server Fault or respective owner