[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Configuring httpd.conf for fixing mod ssl / internet explorer bug for php - RaQ4
- Subject: [cobalt-users] Configuring httpd.conf for fixing mod ssl / internet explorer bug for php - RaQ4
- From: simon@xxxxxxxxxxxxxxxxx
- Date: Mon Sep 30 04:07:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi, hope this isn't too long for a first post!
The bug relating to mod ssl / apache and internet explorer browsers that I
require some help on is documented here:
http://www.modssl.org/docs/2.8/ssl_faq.html#io-ie
In most of the fixes that have been documented around the web (including the url
above) they only ever refer to adding $PerlConfig statements to certain parts of
the httpd.conf file which I am assuming will only fix this problem when using
perl based CGI scripts in SSL mode. I am having the same issues with a php
shopping system that I have developed but cannot find any reference to fixing
the bug for php.
(For those who are not aware about this bug, it causes "page not found errors"
in versions of Microsoft Internet Exploder (ahem, Explorer) from version 5
upwards when posting values via forms when in SSL mode, or so I understand it
anyway...)
The <VirtualHost> section for the site in question within my RaQ's httpd.conf
file looks like this after adding the 3 lines of code supplied for fixing this
bug (starts with SrtEnvIf):
NameVirtualHost 999.999.999.999
<VirtualHost 999.999.999.999>
ServerName www.mydomain.co.uk
ServerAdmin admin
DocumentRoot /home/sites/site999/web
ServerAlias mydomain.co.uk www$
RewriteEngine off
RewriteCond %{HTTP_HOST} !^999.999.999.999(:80)?$
RewriteCond %{HTTP_HOST} !^www.mydomain.co.uk(:80)?$
RewriteRule ^/(.*) http://www.mydomain.co.uk/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site999/users/$1/web/$3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
I know that the fix is supposed to be entered into the httpd.conf file to be
available server-wide, but can't figure out where to put the 3 lines of code so
that it will take notice when executing php scripts.
It does not report any errors when restarting the webserver after adding this
ammendment, but I can't really tell whether it has made any difference since the
problem is documented as being intermittent. Have I at least got it mildly
correct?
Hope someone can help.
Best regards,
Simon.