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...) but under SLL i can get html but not php pages to return...
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 [EMAIL PROTECTED] 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>
Not sure if this is it, but you may try adding these lines to you secure virtual, and restarting Apache....
AddType application/x-httpd-php .php
-- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php