Administration>Caravan Configuration File - HTTPD.CNF
Introduction Installation Beginning Admin Quick Ref FTP Server SMTP Server Database Security
Statements Objects String Parsing Events Queues Samples Special names Error Handling Accessories   Back
Caravan Business Server>Help>Administration>Caravan Configuration File - HTTPD.CNF
Syntax
--NA--
Text
Caravan Business Server picks up the server settings from  HTTPD.CNF located in the Caravan installed  directory.
MIME extensions  
Mime extensions specify the relation between the file extensions and the application to be handled by the browser.
</td>
location
Identification for your Caravan Business Server provided during installation.Example: CBSServer
caravan-http TCP/IP port used by caravan server.
Example: 8182  
ftp FTP port to be used by Caravan FTP Server
Example: 30  
templates
            Directory that contains the dynamic html files. Caravan will process only files
            placed in this directory. This will be treated as the root directory for dynamic files.
            Example: C:\CARAVAN\TEMPLATE. or /caravan/template for Linux
documents    
      Directory that contains static files, say html files, image files, etc.
      Example: C:\CARAVAN\DOC or /CARAVAN/DOC for Linux
dbhome    
      Root directory for database files. Databases are created in this directory.
      Example: C:\CARAVAN\DB or /CARAVAN/DB for Linux      
datacache and availability of memory you can specify any value for caching.  The default value is 4MB of RAM.  
bin The bin directory contains executable files that can be executed from the Caravan script.
domain        Example: domain mydomain.com
nameserver       Caravan can pickup this information from etc/resolv also.multiple entries

are allowed for nameserver.Needed for SMTP to work properly
Example: nameserver 100.100.100.10

home Default page to be executed or loaded when you access Caravan Business Server from the browser. 
Session TimeOut User sessions timeout after this many minutes of inactivity. Normal timeout is 20 minutes
Put   If HTTP PUT is enabled, all put requests will be routed through the "http put url" specified. If not set, put method will not be
accepted.
tmp  
Caravan server requires this folder to create temporary files. Temporary files are deleted automatically. There should be
sufficient space here. It helps to have this path on the same volume as the database path.
 
In case you change the parameters, you must restart the Caravan Business Server for the changes to take effect.
  HTTPD.CNF File

 
#Linux users change the directory paths accordingly.


# mime extentionsps    application/postscriptzip   

application/zipau    audio/basicwav    audio/x-wavgif   

image/gifjpg    image/jpegjpeg   image/jpeghtm   

text/htmlhtml   text/htmltext   text/plainc    text/plaincpp   

text/plainh    text/plainpl    text/plaintxt    text/plainjava  

text/plaintim    text/plaindoc    text/plaintew    text/plainpdf

   application/pdfcnf    text/plain
<STRONG>location      London</STRONG>#the location property of this server. can be used in application
logic.

<STRONG>templates c:\caravan\templates</STRONG>#caravan script files are
located in the templates directory defined above.#please create before

running caravan

<STRONG>dbhome c:\caravan\dbase</STRONG>#caravan database home
directory is created in the directory defined above.#please create before

running caravan

<STRONG>documents c:\caravan\doc</STRONG>#caravan will look for static
documents in the directory defined above.#please create before running caravan

<STRONG>bin c:\caravan\exe</STRONG>#caravan looks for binary executable here

<STRONG>datacache 16M</STRONG>#memory caravan uses for caching database
records. defaults to 1M.

<STRONG>caravan-http 80</STRONG>#caravan with use this port number for http services.#caravan will not start http services if this
is not available; This is necessary.

<STRONG>smtp 25</STRONG>#caravan with use the port defined here for smtp services.#caravan will not start smtp services if
this is not available/defined<STRONG>ftp 21</STRONG>#caravan with use the port defined here for ftp services.#caravan will not start ftp
services if this is not available/defined

<STRONG>domain mydomain.com</STRONG>#caravan will use the above domain in smtp transactions

<STRONG>nameserver 124.89.89.8</STRONG>

<STRONG>nameserver 124.89.89.88</STRONG>#caravan can pickup this information from etc/resolv also.#multiple entries are allowed for
nameserver;#needed for smtp to work properly

Sample
Quick Reference
Home       Back