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 Link to comment https://forums.phpfreaks.com/topic/51544-solved-directory-reference-not-working-only-works-with-file-path/ Share on other sites More sharing options...
oberwil Posted May 16, 2007 Author Share Posted May 16, 2007 See Solution under General Installation. I posted there too. Link to comment https://forums.phpfreaks.com/topic/51544-solved-directory-reference-not-working-only-works-with-file-path/#findComment-254083 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.