Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Open File after site migration

Discussion in 'General Discussion' started by gabrielpasv, Aug 3, 2011.

  1. gabrielpasv

    gabrielpasv Member

    Joined:
    Aug 2, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    I've migrated some sites using the transfer tool on WHM.

    Some account is working fine and some of them when I try to open them... I am prompt to to save a file.

    when I open

    http://111.222.333.444/~username/

    it says something like x-httpd-php.

    These pages having this problems are on the new server (after I migrated them)
    The old server still have the pages and it's current working...

    Can anyone give me any direction on how to fix this issue?

    thank You!
     
  2. gabrielpasv

    gabrielpasv Member

    Joined:
    Aug 2, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    never mind I just added this line to the .htaccess file and it resolved the problem

    AddHandler application/x-httpd-php5 .html .htm



    Thanks
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice