Jump to content

[SOLVED] PHP installed, but now Directory paths don't work


Recommended Posts

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

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.

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.