CGI Chain Failure After Upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
    OpenSSL-0.9.8a 

The httpsd.conf file: 
erverType standalone 
ServerRoot "/usr/local" 
PidFile /var/run/httpsd.pid 
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 
ClearModuleList 
....sparing the reader of many AddModule entries 
Port 443 
Listen 443 
User www 
Group www 
ServerAdmin you@xxxxxxxxxxxx 
<IfModule mod_userdir.c> 
    UserDir public_html 
</IfModule> 
<IfModule mod_dir.c> 
    DirectoryIndex index.html 
</IfModule> 
AccessFileName .htaccess 
<Files ~ "^\.ht"> 
    Order allow,deny 
    Deny from all 
    Satisfy All 
</Files> 
UseCanonicalName On 
<IfModule mod_mime.c> 
    TypesConfig /usr/local/etc/apache/mime.types 
</IfModule> 
DefaultType text/plain 
<IfModule mod_mime_magic.c> 
    MIMEMagicFile /usr/local/etc/apache/magic 
</IfModule> 
HostnameLookups Off 
ErrorLog /var/log/httpsd-error.log 
LogLevel warn 
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined 
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> 
<IfModule mod_autoindex.c> 
....skipping many more default entries 
</IfModule> 
<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 
    </IfModule> 
    AddType application/x-x509-ca-cert .crt 
    AddType application/x-pkcs7-crl    .crl 
</IfModule> 
SSLDisable 
SSLNoV2 
NameVirtualHost 192.168.1.1:443 
<VirtualHost _default_:443> 
DocumentRoot /usr/local/docs/spiral 
SSLEnable 
SSLRequireSSL 
<Directory "/usr/local/docs/spiral"> 
    SSLRequireSSL 
</Directory> 
ServerName secure.spiral.com 
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"> 
    SSLRequireSSL 
    AllowOverride Options 
    Options Indexes FollowSymLinks 
    Order allow,deny 
    Allow from all 
</Directory> 
</VirtualHost> 
....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
recall, 
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux