Jump to content

[SOLVED] Directory Reference not working, only works with file path


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

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.