home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / xios222c.zip / xitami.cfg < prev    next >
Text File  |  1998-01-31  |  10KB  |  247 lines

  1. #   xitami.cfg - Configuration file for XITAMI
  2. #   Revised: 98/01/26
  3. #
  4. #   DON'T MODIFY THIS FILE... instead, create a file called 'defaults.cfg'
  5. #   with the sections and entries you need.  If you modify this file, any
  6. #   changes WON'T BE SHOWN in the browser-based admin screens.  Okay, we
  7. #   warned you.
  8. #
  9. #*END
  10.  
  11. [Server]
  12.     ipaddress=*                         #   * = use any IP address on host
  13.     defaults=defaults.cfg               #   Local config file
  14.     base-host=basehost.cfg              #   Base host config (optional)
  15.     portbase=0                          #   e.g. 5000 for port 5080
  16.     priority=0                          #   0 = normal, 1=low, 2=high
  17.     background=0                        #   1 = run as daemon
  18.     refresh=60                          #   Seconds between refreshes
  19.     cgi-url=/cgi-bin                    #   What defines a CGI URL?
  20.     cgi-bin=cgi-bin                     #   Relative or full path
  21.     keep-alive=1                        #   1 = use Keep-Alive on ports
  22.     keep-alive-max=25                   #   Max. transfers on live port
  23.     timeout=30                          #   Max. duration of live port
  24.     debug=0                             #   Keep debug logs
  25.     limit=0                             #   Max connections (0 = no limit)
  26.     webpages=webpages                   #   Relative or full path
  27.     default1=index.htm                  #   Any number of default pages
  28.     default2=index.html                 #      called 'default<n>', with
  29.     default3=default.htm                #      no holes in the numbering.
  30.     default4=default.html               #
  31.     cache-defaults=1                    #   Allow date-based caching
  32.     error-header=@errors/header.htm     #   Shown at start of error screen
  33.     text-400=@errors/text-400.htm       #   Text for each specific error
  34.     text-401=@errors/text-401.htm       #
  35.     text-402=@errors/text-402.htm       #
  36.     text-403=@errors/text-403.htm       #
  37.     text-404=@errors/text-404.htm       #
  38.     text-413=@errors/text-413.htm       #
  39.     text-500=@errors/text-500.htm       #
  40.     text-501=@errors/text-501.htm       #
  41.     text-502=@errors/text-502.htm       #
  42.     error-footer=@errors/footer.htm     #   Shown at end of error screen
  43.     translate=1                         #   Use IP address in redirections
  44.     autostart=1                         #   Restart if TCP/IP not ready
  45.  
  46. [Wsx]
  47.     admin=xiadmin                       #   Administration agent
  48.     error=xierror                       #   Error simulation agent
  49.  
  50. [Filter]
  51.     ssi=perlssi                         #   Pass *.ssi to PerlSSI
  52.     shtm=perlssi                        #   Pass *.shtm to PerlSSI
  53.     shtml=perlssi                       #   Pass *.shtml to PerlSSI
  54.  
  55. [Console]
  56.     refresh=1                           #   Browser-mode console refreshes
  57.     rate=10                             #     every 10 seconds
  58.     capture=0                           #   Capture console output?
  59.     filename=console.log                #   To this file
  60.     append=0                            #   Append if already exists
  61.     startup=1                           #   Startup screen (1..4)
  62.  
  63. [Alias]
  64. #   cdrom=f:\html                       #   Directory/drive aliases
  65. #   mandy=d:\users\mandy\webpages       #   E.g "http://xxxxx/mandy/"
  66.  
  67. [Virtual-Hosts]
  68. #   www.somehost1.com=host1.cfg         #   Specified by name
  69. #   220.12.25.250=host2.cfg             #   Specified by IP address
  70.  
  71. [Win32]
  72.     16bit-cgi=1                         #   Support 16-bit CGIs?
  73.     secure=0                            #   Secure control panel?
  74.  
  75. [CGI]
  76.     workdir=cgi-bin                     #   Where CGI scripts run
  77.     dirlist=0                           #   Allow directory listings
  78.     debug=0                             #   Keep input and output files
  79.     http-fields=1                       #   Add HTTP_ header fields?
  80.     http-prefix=HTTP_                   #   If so, what prefix?
  81.     form-fields=1                       #   Add form fields to environment?
  82.     form-prefix=FORM_                   #   If so, what prefix?
  83.     form-query=0                        #   Pass form fields as QUERY_STRING?
  84.     environment=1                       #   CGI gets server environment?
  85.     errlog=cgierr.log                   #   CGI stderr output
  86.     full-name=1                         #   Format SCRIPT_NAME with full path?
  87.     exit-ok=0                           #   Do we want an Ok exit code?
  88.     mixed-url=1                         #   Non-CGI files allowed?
  89.     timeout=60                          #   Timeout (seconds) for CGIs
  90.     monitor=200                         #   Monitor rate, milliseconds
  91.     msdos-style=0                       #   Use backslash in pathnames
  92.     stdio=1                             #   Use standard CGI input/output
  93.  
  94. [CGI-Environment]
  95.                                         #   name=value
  96. [CGI-Alias]
  97. #   demos=f:\html\demos                 #   eg. http://xxxx/demos/someprog
  98.  
  99. [LRWP]
  100.     enabled=1                           #   1=on, 0=off
  101.     port=81                             #   Port for LRWP connections
  102.     webmask=local                       #   By default, only local processes
  103.  
  104. [Security]
  105.     password-case=1                     #   Case-sensitive passwords
  106.     filename=xitami.aut                 #   Authorisation file
  107.     dirlist=1                           #   Allow directory listings
  108.     webmask=*                           #   Mask valid client IP addresses
  109.     superuser=""                        #   Superuser access password
  110.     admin=1                             #   Allow browser-based admin
  111.  
  112. [ServerLog]
  113.     enabled=1                           #   1=on, 0=off
  114.     filename=xitami.log                 #   Path + filename
  115.     cycle=daily                         #   When is the file cycled
  116.  
  117. [AccessLog]
  118.     enabled=1                           #   1=on, 0=off
  119.     filename=access.log                 #   Path + filename
  120.     cycle=daily                         #   When is the file cycled
  121.  
  122. [ErrorLog]
  123.     enabled=1                           #   1=on, 0=off
  124.     filename=errors.log                 #   Path + filename
  125.     cycle=daily                         #   When is the file cycled
  126.  
  127. [Ftp]
  128.     enabled=1                           #   1=on, 0=off
  129.     root=ftproot                        #   Default Root directory
  130.     welcome=@ftphello.txt               #   text or @filename
  131.     login-text=@ftplogin.txt            #   text or @filename
  132.     port=21                             #   FTP port (+ port base)
  133.     timeout=300                         #   Max. duration of live port
  134.     user-file=ftpusers.aut              #   Users authorization file
  135.     directory-file=ftpdloc.aut          #   Directory access file
  136.     ipaddress=127.0.0.1                 #   Default IP address (for passive con
  137.     force-ip=0                          #   Use only IP address of config file
  138.     data-port=200                       #   Default data port
  139.     webmask=*                           #   Mask valid client IP addresses
  140.     limit=25                            #   Max. FTP connections (0=no limit)
  141.     check-email=0                       #   Enforce e-mail addresses for anon.
  142.     http-aliases=0                      #   Include HTTP aliases?
  143.  
  144. [Ftp-Alias]
  145. #   rootd=d:\                           #   Directory/drive aliases
  146. #   upload=/tmp/upload                  #
  147.  
  148. [FtpLog]
  149.     enabled=1                           #   1=on, 0=off
  150.     filename=access.log                 #   Path + filename
  151.     cycle=daily                         #   When is the file cycled
  152.  
  153. [FtpErrlog]
  154.     enabled=1                           #   1=on, 0=off
  155.     filename=errors.log                 #   Path + filename
  156.     cycle=daily                         #   When is the file cycled
  157.  
  158. [Mime]
  159.     #  Text MIME types
  160.     etx=text/x-setext
  161.     htm=text/html
  162.     html=text/html
  163.     rtx=text/richtext
  164.     tsv=text/tab-separated-values
  165.     txt=text/plain
  166.  
  167.     #  Image MIME types
  168.     gif=image/gif
  169.     ief=image/ief
  170.     jpe=image/jpeg
  171.     jpeg=image/jpeg
  172.     jpg=image/jpeg
  173.     pbm=image/x-portable-bitmap
  174.     pgm=image/x-portable-graymap
  175.     png=image/png
  176.     pnm=image/x-portable-anymap
  177.     ppm=image/x-portable-pixmap
  178.     ras=image/x-cmu-raster
  179.     rgb=image/x-rgb
  180.     tif=image/tiff
  181.     tiff=image/tiff
  182.     xbm=image/x-xbitmap
  183.     xpm=image/x-xpixmap
  184.     xwd=image/x-xwindowdump
  185.  
  186.     #  Video MIME types
  187.     avi=video/msvideo
  188.     mov=video/quicktime
  189.     movie=video/x-sgi-movie
  190.     mpe=video/mpeg
  191.     mpeg=video/mpeg
  192.     mpg=video/mpeg
  193.     qt=video/quicktime
  194.  
  195.     #  Audio MIME types
  196.     aif=audio/x-aiff
  197.     aifc=audio/x-aiff
  198.     aiff=audio/x-aiff
  199.     au=audio/basic
  200.     snd=audio/basic
  201.     wav=audio/wav
  202.     mid=audio/midi
  203.     rmi=audio/midi
  204.  
  205.     #  Application MIME types
  206.     ai=application/postscript
  207.     bcpio=application/x-bcpio
  208.     bin=application/octet-stream
  209.     cdf=application/x-netcdf
  210.     cpio=application/x-cpio
  211.     csh=application/x-csh
  212.     doc=application/msword
  213.     dvi=application/x-dvi
  214.     eps=application/postscript
  215.     gtar=application/x-gtar
  216.     gz=application/x-gzip
  217.     tgz=application/x-gzip
  218.     hdf=application/x-hdf
  219.     js=application/x-javascript
  220.     latex=application/x-latex
  221.     ltx=application/x-latex
  222.     lzh=application/x-lzh
  223.     man=application/x-troff-man
  224.     me=application/x-troff-me
  225.     ms=application/x-troff-ms
  226.     nc=application/x-netcdf
  227.     oda=application/oda
  228.     pdf=application/pdf
  229.     ps=application/postscript
  230.     roff=application/x-troff
  231.     rtf=application/rtf
  232.     sh=application/x-sh
  233.     shar=application/x-shar
  234.     src=application/x-wais-source
  235.     sv4cpio=application/x-sv4cpio
  236.     sv4crc=application/x-sv4crc
  237.     t=application/x-troff
  238.     tar=application/tar
  239.     tcl=application/x-tcl
  240.     tex=application/x-tex
  241.     texi=application/x-texinfo
  242.     texinfo=application/x-texinfo
  243.     tr=application/x-troff
  244.     txi=application/x-texinfo
  245.     ustar=application/x-ustar
  246.     zip=application/zip
  247.