beckyang Posted December 27, 2009 Posted December 27, 2009 I upload a index.php and the URL http://bravo.heliohost.org/index.php works fine. However, when I open following URL in firefox: http://bravo.heliohost.org It always open a dialog and ask me whether to download a file. If I open the URL in IE. The page show but the PHP code is not execute... Please help me, thank you. Note: I ever did following change in CPanel and modify /www/.htaccess 1) add "Apache Handler" with following value and remove it. Handler: application/x-httpd-php Extension(s): htm 2) add "MIME Types" with following value and remove it. MIME type: application/x-httpd-php Extension(s): htm
Byron Posted December 27, 2009 Posted December 27, 2009 Try refreshing your browser first. If your not using Frontpage Extensions than go to Frontpage Extensions at your cPanel and click Uninstall and see if that helps. You'll probably want to refresh before you check it again though.
beckyang Posted December 27, 2009 Author Posted December 27, 2009 Try refreshing your browser first. If your not using Frontpage Extensions than go to Frontpage Extensions at your cPanel and click Uninstall and see if that helps. You'll probably want to refresh before you check it again though. It works fine! Thank you.
Byron Posted December 27, 2009 Posted December 27, 2009 It works fine! Thank you. Good! btw, I think this is what you want to parse htm files as php. AddHandler application/x-httpd-php5 .htm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now