最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Page downloads as file in Chrome

programmeradmin0浏览0评论

I'm looking to see if I could get pointers in where to look to solve this issue.

Issue

In Chrome, viewing the blog / in Chrome v21, the page downloads as a file "download", rather than opening normally.

The rest of the site on the same server loads fine in Chrome.

All pages load fine in Firefox.

Background

I suspected that it was something to do with the APC caching for Apache, and/or WP Super Cache. However, after disabling both, and clearing my browser cache, the problem continues.

I'm looking to see if I could get pointers in where to look to solve this issue.

Issue

In Chrome, viewing the blog http://www.bitesizeirishgaelic/blog/ in Chrome v21, the page downloads as a file "download", rather than opening normally.

The rest of the site on the same server loads fine in Chrome.

All pages load fine in Firefox.

Background

I suspected that it was something to do with the APC caching for Apache, and/or WP Super Cache. However, after disabling both, and clearing my browser cache, the problem continues.

Share Improve this question asked Oct 17, 2012 at 18:16 eoinoceoinoc 1032 bronze badges 1
  • Works fine in Chrome for me... Could you pastebin the file that gets downloaded for you? – stealthyninja Commented Oct 17, 2012 at 20:05
Add a comment  | 

1 Answer 1

Reset to default 0

The page is sent with:

Content-Type: application/x-gzip

Change the Content-Type to text/html.

发布评论

评论列表(0)

  1. 暂无评论