httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Carr <>
Subject Re: [users@httpd] CGI Chain Failure After Upgrade
Date Fri, 09 Jan 2009 22:30:35 GMT
I abandoned the route. Upon implementing Apache with mod-ssl, voila,
everything is functional.

----- Original Message ----
From: Curtis Carr <>
Sent: Thursday, January 8, 2009 11:33:26 PM
Subject: [users@httpd] CGI Chain Failure After Upgrade

I use the Apache-SSL distribution. Prior to the Apache upgrade, 
everything operated properly. 

I have a CGI script that creates an html web page form, and when the 
submit button is clicked, a second cgi script is called which creates a 
second html web page form. When the submit button is clicked on the 
second form, a third html page of the results is displayed. 

After the upgrade, the first web form displays. At this point, things 
get hairy. On MS Internet Explorer, the submit button results in the 
second form page being displayed, but the submit button on the second 
page results in 0 bytes coming back to the MS IE (and an error page 
displays). On Firefox, the first form page submit button just causes the 
first form to be re-displayed because 0 bytes come back to the browser. 

Has anyone overcome anything like this, and will you tell me how? 

Here is the relevant version information: 

Former versions: 
    Apache 1.3.34 
    OpenSSL 0.9.7e-p1 

Current versions: 
    FreeBSD 6.1 (no change in OS nor hardware) 
    Apache 1.3.41 

The httpsd.conf file: 
erverType standalone 
ServerRoot "/usr/local" 
PidFile /var/run/ 
ScoreBoardFile /var/run/httpsd.scoreboard 
Timeout 300 
KeepAlive On 
MaxKeepAliveRequests 100 
KeepAliveTimeout 15 
MinSpareServers 5 
MaxSpareServers 10 
StartServers 5 
MaxClients 150 
MaxRequestsPerChild 0 
AcceptFilter On 
.....sparing the reader of many LoadModule entries 
.....sparing the reader of many AddModule entries 
Port 443 
Listen 443 
User www 
Group www 
ServerAdmin you@your.address 
<IfModule mod_userdir.c> 
    UserDir public_html 
<IfModule mod_dir.c> 
    DirectoryIndex index.html 
AccessFileName .htaccess 
<Files ~ "^\.ht"> 
    Order allow,deny 
    Deny from all 
    Satisfy All 
UseCanonicalName On 
<IfModule mod_mime.c> 
    TypesConfig /usr/local/etc/apache/mime.types 
DefaultType text/plain 
<IfModule mod_mime_magic.c> 
    MIMEMagicFile /usr/local/etc/apache/magic 
HostnameLookups Off 
ErrorLog /var/log/httpsd-error.log 
LogLevel warn 
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
LogFormat "%h %l %u %t \"%r\" %>s %b" common 
LogFormat "%{Referer}i -> %U" referer 
LogFormat "%{User-agent}i" agent 
CustomLog /var/log/httpsd-access.log common 
ServerSignature On 
<IfModule mod_alias.c> 
.....skipping many more default entries 
<IfModule mod_autoindex.c> 
.....skipping many more default entries 
<IfModule mod_mime.c> 
.....skipping many more default entries 
    <IfModule mod_negotiation.c> 
        LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br 
ru ltz ca es sv tw 
    AddType application/x-x509-ca-cert .crt 
    AddType application/x-pkcs7-crl    .crl 
<VirtualHost _default_:443> 
DocumentRoot /usr/local/docs/spiral 
<Directory "/usr/local/docs/spiral"> 
ScriptAliasMatch ^/cgi-bin(.*) /usr/local/www/cgi-bin/spiral$1 
CustomLog /var/log/httpd-access.spiral.log combined 
ErrorLog /var/log/httpd-error.spiral.log 
SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt 
SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key 
<Directory "/usr/local/www/cgi-bin/spiral"> 
    AllowOverride Options 
    Options Indexes FollowSymLinks 
    Order allow,deny 
    Allow from all 
.....more similarly configured VirtualHosts, of course, not default. 

When I set LogLevel to debug, this is the error log entry "client 
stopped connection before send body completed". Please
this exact same box with the exact same scripts in the exact 
same location in the file heirarchy operated properly.

TIA, Curtis 


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message