So, I added the next to my http.conf file:


NameVirtualHost *:443

<VirtualHost *:443>
    DocumentRoot /PATH_TO/www
    SSLEngine on
    SSLCertificateFile /PATH_TO/domain.crt
    SSLCertificateKeyFile /PATH_TO/domain.key
    SSLCertificateChainFile /PATH_TO/intermediate.crt
</VirtualHost> works now, however it shows the PHP source code? What could trigger this?

"Server configuration error" is the main reason -)

It's selecting for everyone PHP files as "plain content" rather than handing these to a PHP engine for processing. This does not have anything related to SSL (it'll just like happily send the "plain content" on the secure connection).

From PHP: Installation:

AddModule mod_php.c

LoadModule php_module         modules/

LoadModule php5_module        modules/

AddType application/x-httpd-php .php

And from PHP pages won't load:

AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

Visit a pattern? :-) Regardless, browse the fine installation instructions for the specific platform/server.

Happy coding.