home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bos224d6.zip / xitami.cfg < prev    next >
Text File  |  1999-09-24  |  18KB  |  401 lines

  1. #   xitami.cfg - Configuration file for XITAMI
  2. #   Revised: 99/06/23
  3. #
  4. #   Note that since 14 Aug 1998, hyphens and underlines in keys are no
  5. #   longer interchangeable; Xitami uses hyphens everywhere except in
  6. #   real names (virtual hosts and aliases).
  7. #
  8. #   DON'T MODIFY THIS FILE... instead, create a file called 'defaults.cfg'
  9. #   with the sections and entries you need.  If you modify this file, any
  10. #   changes WON'T BE SHOWN in the browser-based admin screens.  Okay, we
  11. #   warned you.
  12. #
  13. #*END
  14.  
  15. [Server]
  16.     ipaddress=*                         #   * = use any IP address on host
  17.     webpages=webpages                   #   Relative or full path
  18.     defaults=defaults.cfg               #   Local config file
  19.     base-host=basehost.cfg              #   Base host config (optional)
  20.     portbase=0                          #   e.g. 5000 for port 5080
  21.     priority=1                          #   1 = normal, 2=low, 3=high
  22.     background=0                        #   1 = run as daemon
  23.     refresh=60                          #   Seconds between refreshes
  24.     cgi-url=/cgi-bin                    #   What defines a CGI URL?
  25.     cgi-bin=cgi-bin                     #   Relative or full path, or '*'
  26.     keep-alive=1                        #   1 = use Keep-Alive on ports
  27.     keep-alive-max=25                   #   Max. transfers on live port
  28.     timeout=30                          #   Max. duration of live port
  29.     debug=0                             #   Keep debug logs
  30.     debug-dir=debug                     #   Location of debug logs
  31.     dirsort=n                           #   How to sort directory listings
  32.     temp-dir=temp                       #   Where temporary files are placed
  33.     log-dir=logs                        #   Where log files are placed
  34.     limit=0                             #   Max connections (0 = no limit)
  35.     advertize=1                         #   Advertise 'Xitami' in listings
  36.     default1=index.htm                  #   Any number of default pages
  37.     default2=default.htm                #      called 'default<n>'
  38.     cache-defaults=1                    #   Allow date-based caching
  39.     error-header=@errors/header.htm     #   Shown at start of error screen
  40.     text-400=@errors/text-400.htm       #   Text for each specific error
  41.     text-401=@errors/text-401.htm       #
  42.     text-402=@errors/text-402.htm       #
  43.     text-403=@errors/text-403.htm       #
  44.     text-404=@errors/text-404.htm       #
  45.     text-412=@errors/text-412.htm       #
  46.     text-413=@errors/text-413.htm       #
  47.     text-500=@errors/text-500.htm       #
  48.     text-501=@errors/text-501.htm       #
  49.     text-502=@errors/text-502.htm       #
  50.     error-footer=@errors/footer.htm     #   Shown at end of error screen
  51.     autostart=0                         #   Restart if TCP/IP not ready
  52.     recover=0                           #   Recover silently after a crash?
  53.  
  54. [Wsx]
  55.     admin=xiadmin                       #   Administration agent
  56.     error=xierror                       #   Error simulation agent
  57.  
  58. [Filter]
  59.     .ssi=perlssi                        #   Pass *.ssi to PerlSSI
  60.     .shtm=perlssi                       #   Pass *.shtm to PerlSSI
  61.     .shtml=perlssi                      #   Pass *.shtml to PerlSSI
  62.  
  63. [Console]
  64.     refresh=0                           #   Browser-mode console refreshes
  65.     rate=10                             #     every 10 seconds
  66.     capture=1                           #   Capture console output?
  67.     filename=console.log                #   To this file
  68.     append=0                            #   Append if already exists
  69.     startup=1                           #   Startup screen (1..4)
  70.     javascript=1                        #   Use JavaScript in WBA
  71.     large-icons=1                       #   Show large icons in WBA
  72.  
  73. [Alias]
  74. #   cdrom=f:\html                       #   Directory/drive aliases
  75. #   mandy=d:\users\mandy\webpages       #   E.g "http://xxxxx/mandy/"
  76.  
  77. [Virtual-Hosts]
  78. #   www.somehost1.com=host1.cfg         #   Specified by name
  79. #   220.12.25.250=host2.cfg             #   Specified by IP address
  80.  
  81. [Win32]
  82.     16bit-cgi=1                         #   Support 16-bit CGIs?
  83.     secure=0                            #   Secure control panel?
  84.     service-name=Xitami                 #   WinNT service name
  85.     service-text=Xitami Web Server      #   WinNT service description
  86.  
  87. [CGI]
  88.     enabled=1                           #   CGI programs enabled?
  89.     workdir=-                           #   Where CGI scripts run
  90.     wildcard=0                          #   Allow /cgi-bin anywhere in URL
  91.     dirlist=0                           #   Allow directory listings
  92.     passargs=0                          #   Pass arguments on command line?
  93.     debug=0                             #   Keep input and output files
  94.     http-fields=1                       #   Add HTTP_ header fields?
  95.     http-prefix=HTTP_                   #   If so, what prefix?
  96.     form-fields=1                       #   Add form fields to environment?
  97.     form-prefix=FORM_                   #   If so, what prefix?
  98.     form-query=0                        #   Pass form fields as QUERY_STRING?
  99.     environment=1                       #   CGI gets server environment?
  100.     errlog=cgierr.log                   #   CGI stderr output
  101.     full-name=1                         #   Format SCRIPT_NAME with full path?
  102.     exit-ok=0                           #   Do we want an Ok exit code?
  103.     mixed-url=1                         #   Non-CGI files allowed?
  104.     timeout=60                          #   Timeout (seconds) for CGIs
  105.     monitor=200                         #   Monitor rate, milliseconds
  106.     msdos-style=0                       #   Use backslash in pathnames
  107.     stdio=1                             #   Use standard CGI input/output
  108.  
  109. [CGI-Environment]
  110.                                         #   name=value
  111. [CGI-Alias]
  112. #   demos=f:\html\demos                 #   eg. http://xxxx/demos/someprog
  113.  
  114. #   -------------------------------------------------------------------------
  115. #   LRWP configuration section
  116. #
  117. #   This section controls the LRWP (long-running web process) 
  118. #   protocol. 
  119.  
  120. [Lrwp]
  121. #   Specifies whether the LRWP agent is enabled or not. 
  122.  
  123.     enabled=1
  124.  
  125. #   Specifies the port on which the LRWP agent accepts connections. 
  126.  
  127.     port=81
  128.  
  129. #   Specifies the webmask for LRWP clients. Normally this is 
  130. #   restricted to local LRWP clients, but you can also construct LRWP 
  131. #   networks from multiple servers. Use 'webmask=local' to specify 
  132. #   just local addresses, or 'webmask=item,item,...' to specify one or 
  133. #   more types of access. Each item allows or excludes some IP 
  134. #   address(es): '250.12.13.*' allows matching addresses, 
  135. #   '!250.12.13.*' excludes matching addresses (but does not allow 
  136. #   others). '!250.12.13.*,*' excludes one set of addresses and allows 
  137. #   all others. 'webmask=@iplist.txt' reads the list of webmasks from 
  138. #   a text file. 
  139.  
  140.     webmask=local
  141.  
  142. #   Allows all LRWP clients to connect. If this is set to 1, any LRWP 
  143. #   application will be allowed to connect. Otherwise the 
  144. #   LRWP-Application section must be used to authorise specific 
  145. #   applications, and optionally specify a password to use during the 
  146. #   authentication stage. 
  147.  
  148.     allow-all=1
  149.  
  150. #   -------------------------------------------------------------------------
  151. #   LRWP-APPLICATION configuration section
  152. #
  153. #   This section consists of one entry per application name (either 
  154. #   URL prefix, or a URL "extension" name). The entry should either to 
  155. #   be set to "*" to indicate the application is allowed without 
  156. #   authentication, or to a password/phrase that is used in LRWP 2.0 
  157. #   authentication with that application. If a password/phrase is 
  158. #   specified, then LRWP 1.0 clients will not be allowed to connect 
  159. #   with that name (as they cannot perform the required 
  160. #   authentication). 
  161.  
  162. [Lrwp-Application]
  163.  
  164.  
  165. [Security]
  166.     password-case=1                     #   Case-sensitive passwords
  167.     filename=xitami.aut                 #   Authorisation file
  168.     dirlist=1                           #   Allow directory listings
  169.     webmask=*                           #   Mask valid client IP addresses
  170.     superuser=""                        #   Superuser access password
  171.     admin=1                             #   Allow browser-based admin
  172.     safepaths=1                         #   Check for unsafe filenames
  173.     setuid=0                            #   Switch to safe uid/gid
  174.     setuid-user=nobody                  #   User id for server process
  175.     setuid-group=nogroup                #   Group id for server process
  176.  
  177. [ServerLog]
  178.     enabled=1                           #   1=on, 0=off
  179.     filename=xitami.log                 #   Path + filename
  180.     cycle=daily                         #   When is the file cycled
  181.  
  182. [AccessLog]
  183.     enabled=1                           #   Enable/disable access logging
  184.     filename=access.log                 #   Access log filename
  185.     cycle=daily                         #   When is the file cycled
  186.     local=1                             #   Log accesses from local addresses
  187. #   Options for extended logging, used by Xitami/Pro
  188.     extended=1                          #   Use extended logging facilities
  189.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  190.     cycle-how=rename                    #   Cycling method
  191.     cycle-time=00:00                    #   What time to cycle
  192.     cycle-day=0                         #   What day of week/month to cycle
  193.     cycle-size=0                        #   Max size in Kb for log file
  194.     cycle-lines=0                       #   Max size in lines for log file
  195.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  196.     translate=0                         #   Use RDNS translation
  197.  
  198. [ErrorLog]
  199.     enabled=1                           #   Enable/disable error logging
  200.     filename=errors.log                 #   Error log filename
  201.     cycle=daily                         #   When is the file cycled
  202.     local=1                             #   Log accesses from local addresses
  203. #   Options for extended logging, used by Xitami/Pro
  204.     extended=1                          #   Use extended logging facilities
  205.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  206.     cycle-how=rename                    #   Cycling method
  207.     cycle-time=00:00                    #   Time to cycle, hh:mm
  208.     cycle-day=0                         #   Day of week/month to cycle
  209.     cycle-size=0                        #   Max size in Kb for log file
  210.     cycle-lines=0                       #   Max size in lines for log file
  211.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  212.     translate=0                         #   Use RDNS translation
  213.  
  214. #   Options for reverse-DNS lookups, used by Xitami/Pro
  215. [Rdns]
  216.     primary-server=127.0.0.1            #   Primary DNS name server
  217.     secondary-server=""                 #   Secondary DNS name server
  218.     recurse-lookups=1                   #   Use recursive lookups
  219.     debug=0                             #   Debug RDNS lookups
  220.  
  221. [Ftp]
  222.     enabled=1                           #   1=on, 0=off
  223.     root=ftproot                        #   Default Root directory
  224.     welcome=@ftphello.txt               #   text or @filename
  225.     signoff=@ftpadios.txt               #   text or @filename
  226.     login-text=@ftplogin.txt            #   text or @filename
  227.     port=21                             #   FTP port (+ port base)
  228.     timeout=300                         #   Max. duration of live port
  229.     user-file=ftpusers.aut              #   Users authorization file
  230.     directory-file=ftpdirs.aut          #   Directory access file
  231.     dirsort=n                           #   How to sort directory listings
  232.     ipaddress=*                         #   Default passive IP address
  233.     force-ip=0                          #   Use only IP address of config file
  234.     data-port=200                       #   Default data port
  235.     webmask=*                           #   Mask valid client IP addresses
  236.     limit=25                            #   Max. FTP connections (0=no limit)
  237.     check-email=0                       #   Enforce e-mail addresses for anon.
  238.     http-aliases=0                      #   Include HTTP aliases?
  239.     soft-quota=2.5                      #   Default user soft quota, Mb
  240.     hard-quota=5                        #   Default user hard quota, Mb
  241.  
  242. [Ftp-Alias]
  243. #   rootd=d:\                           #   Directory/drive aliases
  244. #   upload=/tmp/upload                  #
  245.  
  246. [FtpLog]
  247.     enabled=1                           #   1=on, 0=off
  248.     filename=access.log                 #   Path + filename
  249.     cycle=daily                         #   When is the file cycled
  250.     local=1                             #   Log accesses from local addresses
  251. #   Options for extended logging, used by Xitami/Pro
  252.     extended=1                          #   Use extended logging facilities
  253.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  254.     cycle-how=rename                    #   Cycling method
  255.     cycle-time=00:00                    #   What time to cycle
  256.     cycle-day=0                         #   What day of week/month to cycle
  257.     cycle-size=0                        #   Max size in Kb for log file
  258.     cycle-lines=0                       #   Max size in lines for log file
  259.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  260.     translate=0                         #   Use RDNS translation
  261.  
  262. [FtpErrlog]
  263.     enabled=1                           #   1=on, 0=off
  264.     filename=errors.log                 #   Path + filename
  265.     cycle=daily                         #   When is the file cycled
  266.     local=1                             #   Log accesses from local addresses
  267. #   Options for extended logging, used by Xitami/Pro
  268.     extended=1                          #   Use extended logging facilities
  269.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  270.     cycle-how=rename                    #   Cycling method
  271.     cycle-time=00:00                    #   What time to cycle
  272.     cycle-day=0                         #   What day of week/month to cycle
  273.     cycle-size=0                        #   Max size in Kb for log file
  274.     cycle-lines=0                       #   Max size in lines for log file
  275.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  276.     translate=0                         #   Use RDNS translation
  277.  
  278. #   Hooks for secure socket layer, used by Xitami/Pro
  279. [SSL-http]
  280.     enabled=1                           #   1=enabled
  281.     config-file=sslhttp.cfs             #   SSL configuration file
  282.  
  283. [Mime]
  284.     default=*/*                         #   Default MIME type
  285.  
  286.     #  Text MIME types
  287.     etx=text/x-setext
  288.     htm=text/html
  289.     htp=text/html
  290.     html=text/html
  291.     rtx=text/richtext
  292.     tsv=text/tab-separated-values
  293.     txt=text/plain
  294.     .=text/plain                        #   Files with no extension
  295.  
  296.     #  Image MIME types
  297.     gif=image/gif
  298.     fh=image/x-freehand
  299.     fh4=image/x-freehand
  300.     fh5=image/x-freehand
  301.     fh7=image/x-freehand
  302.     fhc=image/x-freehand
  303.     ief=image/ief
  304.     jpe=image/jpeg
  305.     jpeg=image/jpeg
  306.     jpg=image/jpeg
  307.     pbm=image/x-portable-bitmap
  308.     pgm=image/x-portable-graymap
  309.     png=image/png
  310.     pnm=image/x-portable-anymap
  311.     ppm=image/x-portable-pixmap
  312.     ras=image/x-cmu-raster
  313.     rgb=image/x-rgb
  314.     tif=image/tiff
  315.     tiff=image/tiff
  316.     xbm=image/x-xbitmap
  317.     xpm=image/x-xpixmap
  318.     xwd=image/x-xwindowdump
  319.  
  320.     #  Video MIME types
  321.     avi=video/msvideo
  322.     mov=video/quicktime
  323.     movie=video/x-sgi-movie
  324.     mpe=video/mpeg
  325.     mpeg=video/mpeg
  326.     mpg=video/mpeg
  327.     qt=video/quicktime
  328.  
  329.     #  Audio MIME types
  330.     aif=audio/x-aiff
  331.     aifc=audio/x-aiff
  332.     aiff=audio/x-aiff
  333.     au=audio/basic
  334.     snd=audio/basic
  335.     wav=audio/wav
  336.     mid=audio/midi
  337.     rmi=audio/midi
  338.     ram=audio/x-pn-realaudio
  339.     rpm=audio/x-pn-realaudio-plugin
  340.     ra=audio/x-realaudio
  341.     rm=audio/x-pn-realaudio
  342.     mp3=audio/mpeg
  343.     m3u=audio/mpegurl
  344.     mp3url=audio/mpegurl
  345.  
  346.     #  Application MIME types
  347.     aab=application/x-authorware-bin
  348.     aam=application/x-authorware-map
  349.     aas=application/x-authorware-seg
  350.     ai=application/postscript
  351.     bcpio=application/x-bcpio
  352.     bin=application/octet-stream
  353.     cdf=application/x-netcdf
  354.     cpio=application/x-cpio
  355.     csh=application/x-csh
  356.     dcr=application/x-director
  357.     dir=application/x-director
  358.     doc=application/msword
  359.     dvi=application/x-dvi
  360.     dxr=application/x-director
  361.     eps=application/postscript
  362.     gtar=application/x-gtar
  363.     gz=application/x-gzip
  364.     hdf=application/x-hdf
  365.     jar=application/java-archive
  366.     js=application/x-javascript
  367.     latex=application/x-latex
  368.     ltx=application/x-latex
  369.     lzh=application/x-lzh
  370.     man=application/x-troff-man
  371.     me=application/x-troff-me
  372.     ms=application/x-troff-ms
  373.     nc=application/x-netcdf
  374.     oda=application/oda
  375.     pdf=application/pdf
  376.     ps=application/postscript
  377.     roff=application/x-troff
  378.     rtf=application/rtf
  379.     sh=application/x-sh
  380.     shar=application/x-shar
  381.     spl=application/futuresplash
  382.     src=application/x-wais-source
  383.     sv4cpio=application/x-sv4cpio
  384.     sv4crc=application/x-sv4crc
  385.     swf=application/x-shockwave-flash
  386.     t=application/x-troff
  387.     tar=application/tar
  388.     tcl=application/x-tcl
  389.     tex=application/x-tex
  390.     texi=application/x-texinfo
  391.     texinfo=application/x-texinfo
  392.     tgz=application/x-gzip
  393.     tr=application/x-troff
  394.     txi=application/x-texinfo
  395.     ustar=application/x-ustar
  396.     zip=application/zip
  397.  
  398.     #  VRML MIME types
  399.     wrl=x-world/x-vrml
  400.     wrz=x-world/x-vrml
  401.