Jump to content

HELP needed with multi-domain test


rassy

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

Link to comment
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
×
×
  • Create New...