wex-alpha Posted December 1, 2006 Report Share Posted December 1, 2006 Hello, I have a small peer to peer network in my office. I have set up Uniform server with Joomla distribution, and it works excellent. I found some nice messaging components for Joomla, and wanted them up and running to use it in our LAN. Idea is that users open browser type the http://IP and see portal (joomla in this case). Before I can experiment further I have serious problem with URL's. Uniform is up and running @ 192.168.1.078 my machine. When I sit on another machine in LAN and type in browser following address: http://192.168.1.078 portal opens up very nicely. Here is the problem. When user clicks any link, it gives error "The page cannot be displayed". I was trying to find the problem and I did. Example: 1. User goes to 192.168.1.078 -- > it works2. User wants to click search link (correct URL is 192.168.1.078/index.php?option=com etc...3. The URL on the user PC changes to http://localhost/index.php?option=com etc... And of course that does not exist How can I solve this? I really hope I was not confusing... Thank you very much. Quote Link to comment Share on other sites More sharing options...
Ric Posted December 1, 2006 Report Share Posted December 1, 2006 I have detailed installation of Joomla on this page: http://center.uniformserver.com/joomla_ins..._install_1.htmlThis was purely for local testing however it is easy to change the default installation to run on a local network. Open the Joomla configuration file “configuration.php” located in folder: ***\Uniform_Server\diskw\www\joomla Locate the line (tenth line) $mosConfig_live_site = 'http://localhost/joomla'; and change it to this: $mosConfig_live_site = 'http://192.168.1.078/joomla'; The file looks similar to this depending on your own installation will vary slightly however it is that line you need to change. <?php $mosConfig_offline = '0'; $mosConfig_host = 'localhost'; $mosConfig_user = 'root'; $mosConfig_password = 'root'; $mosConfig_db = 'joomla'; $mosConfig_dbprefix = 'jos_'; $mosConfig_lang = 'english'; $mosConfig_absolute_path = 'W:/www/joomla'; $mosConfig_live_site = 'http://[b]192.168.1.078[/b]/joomla'; Type http://192.168.1.078/joomla/ into any of your local network PCs will now work including the page links. Well I hope that resolves the problem All the best Mike Quote Link to comment Share on other sites More sharing options...
wex-alpha Posted December 4, 2006 Author Report Share Posted December 4, 2006 OMG It is alive, I mean it works. Sorry for 2 posts, and that ALIVE thing, but I am really happy and excited that it works. Thank you one more time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.