Jump to content

MAMP Pro hosts not aliasing directories in Parallels


ottoman

Recommended Posts

I had everything working pre Leopard update - now its kaput. I'll try asking again for help here.

 

MAMP Pro is set up with multiple hosts.

In Mac OS (10.5.4) all sites/hosts I have setup work perfectly i.e. via http://foo:8888/index.php or http://moo:8888/index.php

In Parallels Win XP I access to hosts via http://10.1.1.5:8888/foo/index.php (10.1.1.5 is MacPro IP)

except nowadays links set to/from root in the host are not resolved properly.

So example "images/pop.gif" renders in Windows browser but images called from root like "/images/pop.gif" or "../images/pop.gif" do not.

Same for clicking on links i.e. "http://10.1.1.5:8888/foo/about.php" also in the host root folder of my site/host gets directed to http://10.1.1.5:8888/ the MAMP localhost root, instead to http://10.1.1.5:8888/foo/about.php.

 

Originally I had the win hosts file configured but stuffed this up by making too many changes tying to get things working again.

So for the time being I got what I think was set up originally:

127.0.0.1      localhost

127.0.0.1      .psf

 

10.1.1.5 foo #MAMP Testing server

10.1.1.5 poo #MAMP Testing server

 

Have been trying to find an answer for a few weeks now polwing through the net without success and getting more confused.

Every time I find a post the setup is a bit different or confusing.

How can I get the Windows browsers to stay in the right folder/directory rather than reverting to MAMP localhost folder (/Applications/MAMP/htdocs/)

How hard can this be!?!?

Please somebody help me.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.