4938 Posts in 16602 Topics by 1490 members
|Go to End|
30 April 2014 at 9:08pm
This is a bit of a techy one, but its got me stumped.
When I try and visit the homepage of my website, I get a download dialog saying "you have chosen to open www.mysite.co.uk which is a application/x-hhtpd-php53 file".
Oddly, all other pages work fine. I have looked at the htaccess and there is nothing unusual. Another quirk is that if you visit www.mysite.co.uk?flush=all, it loads fine. If you then go back to the homepage (I supposse the new cached version) you get the download again.
I have tried disabling the cache in the config file, but this doesn't help.
Its an odd one. Any thoughts?
15 May 2014 at 7:26am Last edited: 15 May 2014 10:41am
That looks like a server misconfiguration. Have a look for that string in the server config or the .htaccess and replace hhtpd with httpd. If you don't control the server config then maybe add something along these lines to your .htaccess file.
AddHandler application/x-httpd-php53 .php
15 May 2014 at 8:24pm
Thanks Tim, I will have another play. It has become clear that this is beond the scope of Silverstripe though, and as you aluded, more of a server issue.
|Go to Top|