Modifying lyris.plc
The file "lyris.plc" contains the configuration information for the web interface. Here is a typical configuration:
site=acme
server_ip_address=207.105.7.133
server_ip_port=2020
socket_retries=2
temp=c:\net\netserv\cgi-bin\temp
lyris_url=http://207.105.7.133/lyris
debug=no
password=LCPPasswd
If you configured your installation to use your own web server, the lyris.plc file is found in your web server's CGI directory (the same directory as lyris.pl is found). If you are using the Apache web server installed with ListManager, you will find the lyris.plc file in the /path_to_lm/apache/lib directory.
The "c" on the end of "lyris.plc" stands for "configuration". The program "lyris.pl" automatically looks for a configuration file of the same name as it has, with the letter "c" appended to the name. Thus, you can have multiple copies of "lyris.pl", each with different names. Each different file would have a separate configuration file. For example, if you want to make a special file for a "Acme Corp", you could copy "lyris.pl" to "acme.pl" , then copy "lyris.plc" to "acme.plc", and make Acme Corp specific changes to the acme.plc file.
In order for the new ".pl" file to find the correct ".plc" you will need to specify the new ".plc" in the new ".pl". The ".pl" file uses "lyris.plc" as the default .plc file. To specify a different .plc file, you should add the following line to your new .pl file:
$lyris::config_filename = 'new_filename.plc';
This line should be added near the top of the .pl file, after :
require 'lyrislib.pl';
(since lyrislib.pl defines "lyris.plc" as the default configuration file)
but before :
&lyris::init;
Also, please note that any modifications to the "lyris.plc" file will not take effect until the web server is restarted.
More:
TCP/IP Socket Connection Retries
Location of Web Interface Graphics
Disable Help in the Web Interface
Location of Web Interface Help Files
ListManager Unavailable Message
"Hosts the Following..." Message Text
Web Interface Header and Footer
Suppress Create/Clone Multiple Members Option
![]() |