httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Waters" <bry...@abwaters.com>
Subject [users@httpd] SSL Server, Alias and PHP
Date Thu, 27 May 2004 20:33:16 GMT
I have an Apache 1.3.27 server configured with SSL, PHP and so on...

My problem is that PHP doesn't work under the SSL virtual host...it works
under other named virtual hosts and the main site, but it simply doesn't
work under the _default_:443 virtualhost for some reason...on any other
non-ssl page on the site, php works...(my virtualhost config is below...)

What am i missing?  If i didn't include enough information, my
apologies...it seemed overkill to include the entire conf file.

thx
-bryanw

<VirtualHost _default_:443>
        DocumentRoot "/home/mydomain/html"
        ServerName secure.mydomain.com
        ServerAdmin bryanw@mydomain.com
        ErrorLog /usr/local/apache/logs/error_Log
        TransferLog /usr/local/apache/logs/access_log

	  SSLEngine on
	  SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
        SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
	  SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
	  <Files ~ "\.(cgi|shtml|phtml|php3?)$">
	     SSLOptions +StdEnvVars
	  </Files>
	  <Directory "/usr/local/apache/cgi-bin">
	    SSLOptions +StdEnvVars
	 </Directory>
	SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
	CustomLog /usr/local/apache/logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message