oberwil Posted May 15, 2007 Share Posted May 15, 2007 I have Apache2.2 installed on a Laptop with Vista Premium. PHP is installed and working, as well as MySQL But somehow pathing to Directories is not working. I am using a Virtual Host file with 3 sites so that I can open my browser and type http://laurels, http://sonomasport, or http://locahost. Well before messing around with PHP they all pathed correctly. But now they only work if I type in with a file path e.g http://laurels/index.html, http://localhost/index.html or http://localhost/phpinfo.php I have DirectoryIndex set to # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module> DirectoryIndex index.html index.htm index.php </IfModule> What else could it be ?? Thanks Howard Quote Link to comment https://forums.phpfreaks.com/topic/51548-solved-php-installed-but-now-directory-paths-dont-work/ Share on other sites More sharing options...
oberwil Posted May 16, 2007 Author Share Posted May 16, 2007 Found the Problem. It was Norton 360 AV. If you have this AV installed you may run into the same thing. I think I prefer Norton 2006. Less intrusive. It seems that the Program does a Network Address check and watches changes to the Host file. So every time the Program runs it changes the Host file which kills my virtual-host settings. I looked through all the settings and can't find a place to exclude the Host file. Real stupid. Or I would like to tell it to use the current Host file, and have that one put wherever it saved the original Host file, so it would backup the one I wish to use. Quote Link to comment https://forums.phpfreaks.com/topic/51548-solved-php-installed-but-now-directory-paths-dont-work/#findComment-254082 Share on other sites More sharing options...
nadeemshafi9 Posted July 12, 2007 Share Posted July 12, 2007 why use Apache, iis is available on premium Quote Link to comment https://forums.phpfreaks.com/topic/51548-solved-php-installed-but-now-directory-paths-dont-work/#findComment-296113 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.