logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: index.php downloaded by chrome instead of rendering
Author
gijs



Joined: 27 Apr 2012
Posts: 189
Location: The Netherlands

PostPosted: Sat 29 Jun '13 15:37    Post subject: index.php downloaded by chrome instead of rendering Reply with quote

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

PostPosted: Mon 01 Jul '13 16:12    Post subject: Reply with quote

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

PostPosted: Tue 09 Jul '13 13:39    Post subject: Reply with quote

How did you remove this vary header?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 10 Jul '13 13:57    Post subject: Reply with quote

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

PostPosted: Thu 11 Jul '13 18:11    Post subject: Reply with quote

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

PostPosted: Fri 12 Jul '13 12:52    Post subject: Reply with quote

I've posted my working fcgid config at http://www.apachelounge.com/viewtopic.php?p=25123 But I doubt that there is the issue.

Quote:

The mime type appears to be fine.


Which one is it?
Back to top


Reply to topic   Topic: index.php downloaded by chrome instead of rendering View previous topic :: View next topic
Post new topic   Forum Index -> Apache