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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.