Flash Chat, Web Messenger, Chat Software, Java Chat Server, Live Help Chat, PHP Chat

Flash Chat Software, site messenger software, live chat help
User Manual

Home HomePre page Client Configuration

Server Configuration


By default, all configurations for the chat server are controlled by two files: lhserver.xml, which is located at:
<123livehelp installed directory> /etc/lhserver.xml
default.xml, which is located at:
<123livehelp installed directory> /etc/group/default.xml
Windows users can also access both files from the start menu.


lhserver.xml

How to edit it?
In Windows, you may open lhserver.xml in notepad to edit it. If you now open it with IE browser, you may check source code by right-click to edit it directly.
In UNIX, you may use VI editor to edit lhserver.xml.
After modifying this configuration file, please open it in a browser to test. If syntax error messages pop up, please configure it again before launching the chat room. After modifying this file, you have to restart the chat server to make it effective.
There are three parts of configurations in lhserver.xml,
<Connection> Configuration
<Global> Configuration
<Mail-stmp-server> Configuration


Connection Configuration
Two servers
In the Connection Section, you can set two servers and listen to two ports.
primary-server
secondary-server

There are four reasons as to why there is a second server port option. They are listed below:
Any version before Flash Player 7 only allows access on a high port (1024-65535) due to security reasons, while a low port is forbidden. If you are okay with high port you will not need to set secondary-server. However if you need to set port lower than 1024, you will need a secondary-server.
If the port of your primary-server is lower than 1024 like 80, then only users with Flash Player 7 or newer versions will be able to access the chat while users with flash player 6 can't.
In this case a secondary-server will be necessary. The port for the secondary server should be greater than 1024, which will allow users with an earlier version of Flash Player to access chat.
If you are going to set a high port for your primary-server, then usually you will not need a secondary-server. You will be able to leave the option as default: enable="off".
Using two servers with two ports is just a temporary solution while some users are still using Flash players earlier than version 7.
When Flash player 7 or higher version becomes mainstream, we will take off the secondary-server for future versions of 123 Flash Chat.
To help understanding, please study two tables below:

Parameter High port (1024-51127) Low port (<1024)
>=Flash player 7

Primary server

 

secondary server

Parameter High port (1024-51127) Low port (<1024)
>=Flash player 7

Primary server

 

(unnecessary)

To modify the Parameters, please refer to the table below:

Parameter Type Default Value Description
port Number 8969 The server port must be identical with
the port value in config.xml.
ip String * Set the Server address.
A default "*" means the live help server
will bind to all IP addresses of your
server.
The host value in config.xml can be a
random IP address or any domain name
which points to this IP address. Either
way, clients will be able to connect to
the server.
If you set IP address of the server to the
specific IP address of your server, then
the live help server will only bind to this
IP. This will mean that in config.xml, to
connect the live help server, you can
only use this specific IP address or the
domain name which points to this IP
address.

http-server:
To modify the Parameters, please refer to the table below:

Parameter Type Default Value Description
port Number 8988 The server port must be identical with the
port value in client.xml.
ip String * Set the Server address.
A default "*" means the chat server will
bind to all IP addresses of your server.
The host value in config.xml can be a
random IP address or any domain name which points to this IP address. Either way,
clients will be able to connect to the
server.
If you set IP address of the server to the
specific IP address of your server, then the
live help server will only bind to this IP.
This will mean that in config.xml, to
connect the live help server, you can only
use this specific IP address or the domain
name which points to this IP address.
enable String On Enable or disable the http server
documentRoot String html The directory out of which you will serve
your documents. By default, all requests
are taken from <123livehelp installed
directory>/html directory.
maxUPLoad Size Number 1024 Setting the max file can be uploaded to
the server, if the value less than or equals
to 0, this means the server will not accept
any upload files.

Cross-domain-policy
The chat server uses the cross-domain-policy to ensure security.
<cross-domain-policy>
<allow-access-from domain="*" /></allow-access-from>
</cross-domain-policy>
By default it permits access to the connection originating from any domain.
To limit access from a specific domain name, you can configure your server in the following way:
<cross-domain-policy>
<allow-access-from domain="www.mydomain.com" /></allow-access-from>
</cross-domain-policy>

Related links:

Client Configuration


Home HomePre page Client Configuration

Products Chat Software
3rd Party Chat Plug-in & Chat Modules
Dating Chat SoftwareAbout Us
Flash Chat Software
Web Messenger Software
Live Help Chat Software
Flash Forum
PHP Chat Scripts
Facebook Messenger
Online Webcam Chat Software
Site Messenger Software
Java Chat Server
Online Chat Software
Free Chat Rooms
WordPress Chat Plugin
phpBB Chat Module
SMF Chat Module
Joomla Chat Module
Mambo Chat Module
IPB Chat Module
TypePad Chat Widget
vBulletin Chat Module
DotNetNuke Chat Module
Drupal Chat Module
Moodle Chat Module
e107 Chat Module
SkaDate Chat Addon
Datingpro Chat Module
Dolphin Chat Module
phpFoX Chat Module
Contact us
Company Blog
Partnership
Affiliate
Forum

Share 123 Flash Chat:

Copyright © TopCMM Software Corp. 2001-2012 All Rights Reserved. Privacy policy | Terms of Use | SiteMap | Links