Zurmo CRM: Accessing Wamp server from remote machine through Lan

235 views Asked by At

Application is working perfectly fine on localhost. But I'm trying to access my wamp server through Lan on some other machine, I can successfully see the page but when ever i try to click on any link it replaces the IP address with localhost, due to which can access.

enter image description here

When i click on any link: enter image description here

When i hover on any link: enter image description here

2

There are 2 answers

0
Awn Ali On BEST ANSWER

I got it working by following step:

There is a file in app\protected\config with name perInstance.php $instanceConfig['components']['request']['hostInfo'] = 'http://localhost:port';

change the localhost to your static IP.

2
hamed On

Your problem is not related to wamp. Your network config is correct. Probably the problem is your links path. Try to use correct path with Yii::app()->baseUrl. Try to use this at the beginning of every link. This can be an example for link path:

<a href="<?php echo Yii::app()->baseUrl. '/controller/action' ?>">Test</a>