index.php downloading instead of opening in browser


BobSacamano
Asked:
2012-05-12 2:26 am EST

Hits: 1,429
My website http://www.chicagodeath.com/ is working fine, apart from the fact that when ever I try to open http://www.chicagodeath.com/rss/ instead of the browser opening the feed, it tries to download it.

I tried fixing it by altering .htaccess, but that didn't seem to work.

Has something changed on the server side that would account for this problem?

Chris

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

BradM
Staff
5,399 Points
2012-05-14 9:01 am EST
Hi Chris,

Whenever I try to open a php file the browser tries to download it instead of loading it normally.

I've seen this issue a few times in the past. Most of the time, the problem is due to conflicting code in your .htaccess file. I tested the URL you provided, but I was not able to replicate the issue. I assume that you were able to resolve the issue?

One of the things to keep in mind is that .htaccess files are recursive. What this means, is that if your rss folder is located here:

/public_html/rss

... all of the following .htaccess files could be affected files in the rss folder:

/public_html/rss/.htaccess
/public_html/.htaccess
/.htaccess

I'll assume you were able to resolve this issue, as I tested in several browsers and was not able to replicate the problem. If by chance you are still having an issue, feel free to post a comment at the bottom of this page with more information, and I'll be happy to look into this further.

Thanks!
- Brad

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!