Strange Problem with SSL and PHP
Posted: Thu Jul 01, 2004 11:04 am
Hi, this has been buggin me for quite a while.
Now, the problem is simple:
This works:
http://test/test.php
This doesn't:
https://test/test.php
SSL and PHP modules are loaded fine:
[modules.conf]
And here is the most important part of httpd.comf:
My problem when i run a script with https:// is that it requires me to save the file and says that x-httpd-php application type.
I am royally confused.
Now, the problem is simple:
This works:
http://test/test.php
This doesn't:
https://test/test.php
SSL and PHP modules are loaded fine:
[modules.conf]
Code: Select all
LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.soCode: Select all
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phpsI am royally confused.