php - URL generated in Wamp is missing the local host prefix -


when pressing site link wamp localhost dashboard, site not include localhost prefix, therefore not working.

per example.

pressing:my site results in address: mysite , have manualy put localhost prefix in order site load: localhost/mysite

how can fix this?

appreciate help. jonathan

you don't have create virtual host if u don't need. following

open www/wamp/index.php

then change line

$suppress_localhost = true; 

to

$suppress_localhost = false; 

this works me


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -