Author |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Sat 29 Jun '13 15:37 Post subject: index.php downloaded by chrome instead of rendering |
|
|
I've had several complains of people who use Google Chrome that when they open my website and click on a link they usually get a downloading index.php instead of rendering it.
When they switch to IE or FF they don't have this problem.
Is this an issue with my server?
I'm using Apache 2.4.4 modfcgid with PHP 5.4.16.
If so how can I resolve it? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 01 Jul '13 16:12 Post subject: |
|
|
I had such an issue with the vary header. removing it solved it for me, but that is some time ago with 2.2 |
|
Back to top |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Tue 09 Jul '13 13:39 Post subject: |
|
|
How did you remove this vary header? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 10 Jul '13 13:57 Post subject: |
|
|
Code: |
SetEnv force-no-vary
|
But that forces apache to use HTTP/1.0 instead of 1.1
However, you may check out the headers your page sends (mime type). There is might be the problem. |
|
Back to top |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Thu 11 Jul '13 18:11 Post subject: |
|
|
James Blond wrote: | Code: |
SetEnv force-no-vary
|
But that forces apache to use HTTP/1.0 instead of 1.1
However, you may check out the headers your page sends (mime type). There is might be the problem. |
The mime type appears to be fine.
I make use of mod fcgid to load PHP perhaps I need to modify something? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|