i installed wampserver yday and it worked fine when i typed in localhost in the browser.
but today when i type localhost to see if apache was running without a problem - it displays the root directory that is the folders contained inside the www directory in a page named index of. it does not show the wamp site like it should.
Whats wrong with this?

Recommended Answers

All 2 Replies

You probably have either deleted or altered your .htaccess file.
You can disable directory/file listing and specify the DirectoryIndex globally in the /conf/httpd.conf file to prevent this.

Hi! thank you! but how do i fix it? can u help me please

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.