Jump to:

4938 Posts in 16602 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Homepage forcing download

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 228 Views
  • codemonkey88
    Avatar
    Community Member
    13 Posts

    Homepage forcing download Link to this post

    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?

  • Tim Snadden
    Avatar
    Community Member
    32 Posts

    Re: Homepage forcing download Link to this post

    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

    Cheers, Tim

  • codemonkey88
    Avatar
    Community Member
    13 Posts

    Re: Homepage forcing download Link to this post

    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.

    228 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.