[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache ssl and php



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Mohnkern wrote:
> I'm working for the 1st time with apache-ssl and php, and am
> encountering a problem.

> Whenever I open a file with an extension of "php"  (i.e.
> https://www.mydomain.com/filename.php) the browser is asking if I want
> to save or open it, rather than process it.

My guess is you have a different httpd.conf for your HTTPS server, and
you have neglected to add lines like this to it:

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


- --
Chris Hilts
chilts@birdbrained.org
Say it with flowers -- Send them a triffid!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFD8hHi98ixrK2vMtARAp5qAJ4xnpNkRNcx0ZqKRc6peFiVtdnMtQCePiil
5vq92BqRZHNVffMWFoKS8C8=
=RKRq
-----END PGP SIGNATURE-----



Reply to: