View Single Post
Old 01-17-2012, 10:07 PM   PM User | #1
Kurisvo
New Coder

 
Join Date: Apr 2011
Posts: 59
Thanks: 8
Thanked 0 Times in 0 Posts
Kurisvo is an unknown quantity at this point
Problem with localhost/xampp

Just a quick question for you guys.

I develop on xampp and I develop multiple sites in sub-folders. My problem is that it's not letting me use each sub-folder as its own site.

So say I'm coding on site a. And in it I want image and I call it like I would on a webserver with <img src="images/a.gif"> and then on site b I call it like <img src="image/b.gif">. Each sub-folder has it's own images folder.

The problem is, instead of image a calling localhost/a/images/a.gif like it would on a web-server is calls localhost/images/a.gif. Is there a way to fix this other then calling it using localhost/a/images/a.gif? Because I would hate to have to do that and then rewrite all the links when it came time.
Kurisvo is offline   Reply With Quote