hazeem Posted December 15, 2008 Share Posted December 15, 2008 Dear All, I'm A newpie in apache , so please excuse my ignorance. I just created a new virual host , but it doesn't run the index.php, it prompt it to save it, but when puting the same content on the default apache folder everything works fine, so i wonder, what is missing to run the same website on that virtual host. thnx in advance Regards Link to comment https://forums.phpfreaks.com/topic/137017-php-is-not-running-on-virtual-host/ Share on other sites More sharing options...
teekay_tk Posted December 15, 2008 Share Posted December 15, 2008 i am new to this as well. my KML files would open in text rather than download. It turns out that the mime types need to be defined somewhere in the sever, that tells the browser what to do with this file, run it or download it. I seriously dont know what i am talking about, but if i am rite then a search for mime type defines might help. Link to comment https://forums.phpfreaks.com/topic/137017-php-is-not-running-on-virtual-host/#findComment-715679 Share on other sites More sharing options...
PFMaBiSmAd Posted December 15, 2008 Share Posted December 15, 2008 teekay_tk, Your answer has nothing to do with this thread. You probably meant this for some other thread. Please be careful when posting. Link to comment https://forums.phpfreaks.com/topic/137017-php-is-not-running-on-virtual-host/#findComment-715681 Share on other sites More sharing options...
teekay_tk Posted December 16, 2008 Share Posted December 16, 2008 sorry, my mistake Link to comment https://forums.phpfreaks.com/topic/137017-php-is-not-running-on-virtual-host/#findComment-716551 Share on other sites More sharing options...
neogranas Posted December 19, 2008 Share Posted December 19, 2008 Have you set the DirectoryIndex to include index.php? Link to comment https://forums.phpfreaks.com/topic/137017-php-is-not-running-on-virtual-host/#findComment-719723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.