I know this has probably been asked a million times, but I think I'm just not phrasing the question correctly. I'm running Win7 with XAMPP (apache) and I currently go here in my browser to navigate to a site on localhost:
http://localhost/client/htdocs
But I want to be able to end up in the same place by go to this address:
http://client
The htdocs folder is in a subdirectory for security purposes, and the way I have it right now, all the references to, for example, /js/main.js
are pointing at http://localhost/js
instead of http://localhost/client/htdocs/js
where it should be.
Thanks guys.