Jump to content

HELP needed with multi-domain test


rassy
 Share

Recommended Posts

Hi guys,

 

I want to set up MAMP in order to test prestashop with multiple local fake-domains.

 

My http.conf looks like this:

<VirtualHost localhost-test.com>
    ServerName localhost-test.com
    DocumentRoot /Applications/MAMP/htdocs-localhost-test.com
</VirtualHost>

 

In my /etc/hosts I got:

127.0.0.1 localhost-test.com

 

THE PROBLEM:

Now when calling "localhost-test.com" in firefox everything looks fine, BUT the links are internal not generated correctly. For example:

{$link->getPageLink('my-account.php', true)} give out "localhost/my-account.php" instead of "localhost-test.com/my-account.php"

 

Whats wrong? Do you have an idea?

 

Thanks for your help

rassy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More