Jump to content

examples folder not showing in wamp (image)


Recommended Posts

I think the image says it all but details are:

- had this problem with my old examples local repo, so I killed it and grabbed a brand new one

- there is an 'examples' folder which contains almost all the phaser examples

- I want to open it using /examples/debug.php

- the /examples folder doesn't show up in WAMPServer, although it is definitely on my local machine

Any ideas how to make WAMP see the folder?




Link to comment
Share on other sites

Ah, brilliant idea thanks Skeptron.


It generated this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


So I looked in the WAMP logs and the apache_error.log contains lots of this message:


[Tue Jul 21 21:15:39.739149 2015] [core:alert] [pid 5152:tid 1500] [client] C:/wamp/www/phaser_examples/examples/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
So it looks like the problem is in .htaccess - which came from the repo.  So now, last question (possibly!) ... how do I fix that? :)
BTW .htaccess contains only these lines:
Header set Access-Control-Allow-Origin "*"
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\.html$ /index.php [QSA,R=302,L]
Link to comment
Share on other sites

Yes that helped a lot, thanks :)


For anyone else caught out by this odd requirement, hit the WAMP icon in the task bar and in the apache|apache modules menu, enable "headers_module" and "rewrite_module".  They don't appear to be set by default when you install WAMPServer so this will hit anyone attempting to use the examples locally with that program.


Thanks Skeptron!

Link to comment
Share on other sites

  • 6 months later...

This problem bothered me for a while.

I finally found a fix:

the parts of Examples module end up showing "Service unavailable!" error bacause of the preconfigured redirect.

To fix it navigate to file:
you cancomment out the following line with #:
ProxyPass /examples ajp:// smax=0 ttl=60 retry=5
Then restart the server and enjoy 

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...