Results 1 to 8 of 8
Thread: HTTPS not processing .php .html
-
07-29-2008, 06:20 PM #1Newbie
- Join Date
- Jul 2008
- Posts
- 5
HTTPS not processing .php .html
Hi,
I've just set up HTTPS on Apache (CentOS). However if I try to access the HTTPS site I just get prompted with the save as dialog to download either the .php file or .html. How do I get it to show (and process) it instead, like when accessing normally (non-ssl).
Thanks
-
07-29-2008, 07:04 PM #2WHT Addict
- Join Date
- Jul 2008
- Location
- France
- Posts
- 105
by default u shouldnt need to add any types. Does it work normally when accessing php files from http?
-
07-29-2008, 08:24 PM #3Newbie
- Join Date
- Jul 2008
- Posts
- 5
-
08-01-2008, 04:46 PM #4Newbie
- Join Date
- Jul 2008
- Posts
- 5
Anyone else got any ideas. Been Googling for days but to no avail.
.html files work fine over HTTPS just not php.
I've attached my httpd.conf file if any one can be kind enough to look at it.
Thanks
-
08-01-2008, 07:25 PM #5Newbie
- Join Date
- Jul 2008
- Posts
- 7
It may have to do something with: AddHandler or AddType and making sure php pages are allowed to be used in an apache SSL state.
Not 100% sure at the moment.
-
08-01-2008, 07:36 PM #6Newbie
- Join Date
- Jul 2008
- Posts
- 7
Try this URL: http://www.howtoforge.com/linux_apac..._ioncubeloader
-
08-01-2008, 08:24 PM #7Newbie
- Join Date
- Jul 2008
- Posts
- 5
Cheers for the reply.
I'm pretty sure all the hanlders/types are correct, that link was one of the guides I used to set up HTTPS. :/
-
08-04-2008, 04:59 PM #8Newbie
- Join Date
- Jul 2008
- Posts
- 5
Update: For any one else having the same problem I managed to fix it by upgrading to php5 (was previously on php4).
Yum update -y -php
Cheers for the help guys!