Syntax
|
Windows
Click on the Caravan Business Server icon on the desktop. (You can also click on Caravan Business Server in the Program group. Start>Program).
Once CBS starts, you can change the parameters through 'Settings'. Caravan reads the HTTPD.CNF (configuration file) and displays the values in the Settings. You can change the Settings and save. Caravan saves it to Httpd.cnf and the previous settings are renamed to say httpd1.cnf, httpd2.cnf.
(Please note that the setup creates a new HTTPD.cnf file as well as sets the environment variable in the batch file. But caravan exe can execute without the environment variable been set. Also if HTTPD.CNF file is not present, it will take the current directory and create a new HTTPD.CNF file).
To access the Caravan Business Server, type in the IP address of the host computer (say http://10.100.1.10/ or http://10.100.10.10:8182 or http://localhost) or http://localhost:8182) in the address text box of your browser. The default page welcome.html will be loaded onto your browser (Default page is set in httpd.cnf or in Settings. In this example it is set to Welcome.html)
You can always revert back to the older settings, by renaming any old configuration file to httpd.cnf and restating Caravan.
Refer to Administration-->Configuration - HTTPD.CNF for explaination on Settings parameters.
Linux From command prompt execute the following command
CARAVAN={path of caravan};export caravan
Now run caravan executable. By default caravan is set to run from /usr/caravan directory with TCP/IP port as 8182. If you install caravan in any other folder please change the following files 1. httpd.cnf 2. /caravan/template/system.html
(Please note that you need not create/copy httpd.cnf file. When you execute caravan, it will create the httpd.cnf file automatically.
OS/2 From command prompt run the batch file startCaravan.bat
Accessing Pages from Browser
To access the Caravan Business Server, type in the IP address of the host computer (say http://10.100.1.10/ or http://10.100.10.10:8182 or http://localhost) or http://localhost:8182) in the address text box of your browser. The default page welcome.html will be loaded onto your browser.
|