Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LAN Operation - question

Featured Replies

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.

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

  • Author

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.

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.