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 -> Other Software View previous topic :: View next topic
Reply to topic   Topic: php scripts index problem
Author
bentogoa



Joined: 09 Feb 2007
Posts: 66
Location: GOA

PostPosted: Thu 31 Jan '08 18:12    Post subject: php scripts index problem Reply with quote

I have a strange problem. I am running Apache 2.2.4 on my win xp for testing my sites before uploading them.

I use name based vhosts & all my sites use php.

From yesterday onwards mysite2.com downloads php code.
however if i open http://www.mysite2.com/index.php it works is ok
the problem is when i open http://www.mysite2.com
it downloads the php code.

Other sites on the same server are working fine.

Server Configuration
Apache 2.2.4
PHP 5.2.5
Windows XP
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Fri 01 Feb '08 2:49    Post subject: Reply with quote

I don't know if this could be it, and in fact it seems unlikely but I'll suggest that you ensure that you have index.php as one of the default index pages in the VHOST if not set in the server .conf file already.

Also when you specify *.php you get the appropriate output suggesting your mime configuration is correct but you could double check that this applies globally including the directory your vhost is in (which I am sure you did).

Hope that helps.
Back to top


Reply to topic   Topic: php scripts index problem View previous topic :: View next topic
Post new topic   Forum Index -> Other Software