Jump to content
The Uniform Server Community

LAN Operation - question


Recommended Posts

Posted

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 works

2. 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.

Posted

I have detailed installation of Joomla on this page:

http://center.uniformserver.com/joomla_ins..._install_1.html

This 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 :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...