rassy Posted August 25, 2011 Share Posted August 25, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now