0

I'm running WAMP on Windows 10. I had an old computer where I was running WAMP on Windows 8, and the WAMP localhost homepage used to be a tree-structure list of the files:

enter image description here

Which seems fine; I can browse through directories and see their contents.

Now the WAMP localhost homepage is a larger page with links to the tools, projects, etc.

enter image description here

However, when I try to browse through any specific parent folder (with many other subfolders of projects) from a link in "Your Projects", it fails. I get a "404 Not Found - The requested URL /my-site/ was not found on this server." error.

I don´t understand why it's different now, and I'm wondering how can I get the old WAMP localhost homepage?

DavidM
  • 307
  • 2
  • 6
  • 22
  • The wampsever homepage should always have shown unless you delete the `\wamp\www\index.php` – RiggsFolly Jul 05 '16 at 14:26
  • You really need to create Virtual Hosts for each of yrou projects see http://stackoverflow.com/questions/23665064/project-links-do-not-work-on-wamp-server/23990618#23990618 for how to do that or use the `Ajouter un Virtual Hosts` link and follow the instructions – RiggsFolly Jul 05 '16 at 14:28
  • @RiggsFolly maybe, but the localhost page was not the same, and I tried deleting the index.php file but I got the 404 error – DavidM Jul 05 '16 at 14:45
  • If you delete the `\wamp\index.php` you should get a view like your first image. **So what else have you changed** – RiggsFolly Jul 05 '16 at 21:09
  • @RiggsFolly I just reinstalled WAMP server on my new computer, although I never deleted the index.php file before and I could still browse through the directories without getting the "404 Not Found" error whenever there's no an index.html or index.php file. – DavidM Jul 05 '16 at 21:57
  • Your first picture shows `index.php`has been renamed as `index.txt` thats pretty much like deleting it!?!!! – RiggsFolly Jul 05 '16 at 22:02
  • @RiggsFolly No, actually that one is a screenshot I found on the internet to show how it was, but the only screenshot I made is the second picture :/ – DavidM Jul 06 '16 at 01:37
  • Create a Virtual Host for each project and use Explorer (_not iexplorer_) to browse folders – RiggsFolly Jul 06 '16 at 08:09

1 Answers1

1

I have same issue on windows 10 x64. Solution is in /wamp64 or wamp /bin/apache/apache2xxx/conf/httpd.conf . Remove comment tag (#).

#LoadModule autoindex_module modules/mod_autoindex.so

to

LoadModule autoindex_module modules/mod_autoindex.so

Then Restart Wamp server to load autoindex module.

If you want to work on apache default page www/index.php , you need change

$suppress_localhost = True;

to

$suppress_localhost = false;

Solution from: WAMP "index of / " page not working

Community
  • 1
  • 1
Erdem Çetin
  • 491
  • 1
  • 5
  • 21