I think I'm having some trouble with the document root in wamp and would really appreciate some help.
When using wamp i usually put a new website inside its own folder (that in turn inside the localhost/www or in other words the C:/wamp/www folder)
So for example localhost/www/mywebsite
I have copied a website to WAMP to make some changes.
The previous web designer used / (forward slash) for all the path references. So it looks for the rest of the path starting from the root folder (www.example.com/)
They also used many php includes from many sub folders, which is fine for a live website, but it doesn't work in WAMP because:
WAMP looks in localhost/www
causing it to look in the wrong place for every statement e.g. -
<img src="/image.gif"> wouldn't be found in localhost/www (as my project is in the 'mywebsite' folder: localhost/www/mywebsite.
I might be missing some simple trick here, from a quick look on the web I assume it is a problem with the WAMP document root? I may be wrong though :)
I don't really want to go through and change all of the path statements there are several hundred pages, so any help would be appreciated :)