Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SteRiley

macrumors newbie
Original poster
Oct 18, 2011
1
0
I've just upgraded from Snow Lepoard to Lion and I've come across an odd problem with one of my virtually hosted sites I have setup for development. I have done this by editing the hosts file and http-vhosts.conf.

At first I couldn't access my normal PHP setup sites but I found this was an issue with the php.ini and paths to mySQL, I sorted that out. However the site I am having trouble with the most is a static .html site.

When I attempt to access the site on my localhost its reporting File Not Found, http://mylocalsite.local/. could not be found, it adds the /. by itself and I'm not sure why. If I drag the .html file into the browser it also fails to load any of the images because all paths begin with a / so it cannot find the image.

This was working fine before the upgrade, is there a change to how .html files are processed on the localhost? Maybe a permissions issue?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.