It looks like the Content-Disposition header is set to attachment for your
.php and .html files and I don't know why. You can try putting following in
your apache config file:

<FilesMatch "\.html$">
    ForceType text/html
</FilesMatch>

and see if it works.

Igor

On Fri, Apr 23, 2010 at 1:50 PM, Duane A. Garner <djphr...@gmail.com> wrote:

>
> I installed Apache 2.2 and PHP 5, I got it all working and all of a sudden
> I
> try to open WordPress index.php and it wants to download the file instead
> of
> display it, then Apache crashes. I restarted, still doing so, then I
> uninstalled and even restored PC and it still wants to download the
> index.html instead of displaying it. Any help please!!
> Apache isn't even installed (removed the folder from Program Files) and
> it's
> still doing it!
> --
> View this message in context:
> http://old.nabble.com/Apache-2.2-downloading-file-instead-of-displaying-tp28337131p28337131.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to