I'm trying to setup a local host so I can run my website off the local server. The problem is this:
<-- I type into browser
C:\Program Files\xampp\htdocs\versa <-- Name of the folder where the files are stashed
The problem is the index.php will load.. but the <path> variable points to http://localhost/
not localhost/versa so the css, links, ect don't work.
<link type="text/css" rel="stylesheet" href="http://localhost/css/mainpages.css
" /> <-- Taken from view source command in browser
I thought the virtiual host should be setup this way in the apache file.
DocumentRoot C:\Program Files\xampp\htdocs\versa
Any thoughts on why this might not be working?