Welcome Guest, Not a member yet? Register   Sign In
I can't check in VirtualBox because of the path.
#1

[eluser]chefnelone[/eluser]
Hi,

I'm developing my site in my localhost on a Mac.
I use VirtualBox which runs Windows in my Mac to check the site in IE (Windows).

Thing is that the url to access my localhost in Mac from Windows (runnig via VirtualBox) must to be:
http://10.0.2.2/ instead of http://localhost (in mac)

Then, let say I load some style in a page of my site using a link like:

<link rel="stylesheet" href="http://localhost/ci/css/style.css" type="text/css" media="screen" title="no title" charset="utf-8">

It just works fine in Mac, but in IE (windows on virtualbox) it doesn't. Because the link should be:

<link rel="stylesheet" href="http://10.0.2.2/ci/css/style.css" type="text/css" media="screen" title="no title" charset="utf-8">

Problem is the different access path to the server. How can I solve this? I guess I have to change some configuration in application/config/config.php, but I don't know what.

I'd appreciate any suggestion.

Walter
Regards,


Messages In This Thread
I can't check in VirtualBox because of the path. - by El Forum - 11-28-2009, 12:06 PM
I can't check in VirtualBox because of the path. - by El Forum - 11-28-2009, 12:43 PM
I can't check in VirtualBox because of the path. - by El Forum - 11-28-2009, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB