home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 May / APC452.ISO / netkit / xitami / xitami.exe / XITAMI.CFG < prev    next >
Encoding:
Text File  |  1999-03-08  |  16.3 KB  |  368 lines

  1. #   xitami.cfg - Configuration file for XITAMI
  2. #   Revised: 99/03/04
  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.     header-dir=headers                  #   File headers directory
  40.     error-header=@errors/header.htm     #   Shown at start of error screen
  41.     text-400=@errors/text-400.htm       #   Text for each specific error
  42.     text-401=@errors/text-401.htm       #
  43.     text-402=@errors/text-402.htm       #
  44.     text-403=@errors/text-403.htm       #
  45.     text-404=@errors/text-404.htm       #
  46.     text-412=@errors/text-412.htm       #
  47.     text-413=@errors/text-413.htm       #
  48.     text-500=@errors/text-500.htm       #
  49.     text-501=@errors/text-501.htm       #
  50.     text-502=@errors/text-502.htm       #
  51.     error-footer=@errors/footer.htm     #   Shown at end of error screen
  52.     translate=1                         #   Use hostname in redirections
  53.     autostart=0                         #   Restart if TCP/IP not ready
  54.     recover=0                           #   Recover silently after a crash?
  55.  
  56. [Wsx]
  57.     admin=xiadmin                       #   Administration agent
  58.     error=xierror                       #   Error simulation agent
  59.     .shtm=xixssi                        #   Pass *.shtm to SSI interpreter
  60.     .shtml=xixssi                       #   Pass *.shtml to SSI interpreter
  61.     .ssi=xixssi                         #   Pass *.ssi to SSI interpreter
  62.     
  63. [Filter]
  64. #   .ssi=perlssi                        #   Pass *.ssi to PerlSSI
  65.  
  66. [Console]
  67.     refresh=0                           #   Browser-mode console refreshes
  68.     rate=10                             #     every 10 seconds
  69.     capture=1                           #   Capture console output?
  70.     filename=console.log                #   To this file
  71.     append=0                            #   Append if already exists
  72.     startup=1                           #   Startup screen (1..4)
  73.     javascript=1                        #   Use JavaScript in WBA
  74.     large-icons=1                       #   Show large icons in WBA
  75.  
  76. [Alias]
  77. #   cdrom=f:\html                       #   Directory/drive aliases
  78. #   mandy=d:\users\mandy\webpages       #   E.g "http://xxxxx/mandy/"
  79.  
  80. [Virtual-Hosts]
  81. #   www.somehost1.com=host1.cfg         #   Specified by name
  82. #   220.12.25.250=host2.cfg             #   Specified by IP address
  83.  
  84. [Win32]
  85.     16bit-cgi=1                         #   Support 16-bit CGIs?
  86.     secure=0                            #   Secure control panel?
  87.     service-name=Xitami                 #   WinNT service name
  88.     service-text=Xitami Web Server      #   WinNT service description
  89.  
  90. [CGI]
  91.     enabled=1                           #   CGI programs enabled?
  92.     workdir=-                           #   Where CGI scripts run
  93.     wildcard=0                          #   Allow /cgi-bin anywhere in URL
  94.     dirlist=0                           #   Allow directory listings
  95.     debug=0                             #   Keep input and output files
  96.     http-fields=1                       #   Add HTTP_ header fields?
  97.     http-prefix=HTTP_                   #   If so, what prefix?
  98.     form-fields=1                       #   Add form fields to environment?
  99.     form-prefix=FORM_                   #   If so, what prefix?
  100.     form-query=0                        #   Pass form fields as QUERY_STRING?
  101.     environment=1                       #   CGI gets server environment?
  102.     errlog=cgierr.log                   #   CGI stderr output
  103.     full-name=1                         #   Format SCRIPT_NAME with full path?
  104.     exit-ok=0                           #   Do we want an Ok exit code?
  105.     mixed-url=1                         #   Non-CGI files allowed?
  106.     timeout=60                          #   Timeout (seconds) for CGIs
  107.     monitor=200                         #   Monitor rate, milliseconds
  108.     msdos-style=0                       #   Use backslash in pathnames
  109.     stdio=1                             #   Use standard CGI input/output
  110.  
  111. [CGI-Environment]
  112.                                         #   name=value
  113. [CGI-Alias]
  114. #   demos=f:\html\demos                 #   eg. http://xxxx/demos/someprog
  115.  
  116. [LRWP]
  117.     enabled=1                           #   1=on, 0=off
  118.     port=81                             #   Port for LRWP connections
  119.     webmask=local                       #   By default, only local processes
  120.  
  121. [SSI]
  122.     enabled=1                           #   SSI parsing enabled?
  123.     timefmt="%A, %d-%b-%y %H:%M:%S %Z"
  124.     sizefmt="bytes"
  125.     timeout=30
  126.     errmsg="<P>[Xitami SSI: %s]"
  127.     exec=0
  128.     
  129. [Security]
  130.     password-case=1                     #   Case-sensitive passwords
  131.     filename=xitami.aut                 #   Authorisation file
  132.     dirlist=1                           #   Allow directory listings
  133.     webmask=*                           #   Mask valid client IP addresses
  134.     superuser=""                        #   Superuser access password
  135.     admin=1                             #   Allow browser-based admin
  136.     safepaths=1                         #   Check for unsafe filenames
  137.     setuid=0                            #   Switch to safe uid/gid
  138.     setuid-user=nobody                  #   User id for server process
  139.     setuid-group=nogroup                #   Group id for server process
  140.     cgi-username=""                     #   Run CGIs under user name
  141.     cgi-groupname=""                    #   Group name or domain
  142.     cgi-password=""                     #   Password if required
  143.  
  144. [ServerLog]
  145.     enabled=1                           #   1=on, 0=off
  146.     filename=xitami.log                 #   Server log filename
  147.     cycle=daily                         #   When is the file cycled
  148.     cycle-how=rename                    #   Cycling method
  149.     cycle-time=00:00                    #   What time to cycle
  150.     cycle-day=0                         #   What day of week/month to cycle
  151.     cycle-size=0                        #   Max size in Kb for log file
  152.     cycle-lines=0                       #   Max size in lines for log file
  153.     cycle-arg=xi%yy%mm%dd.log           #   Argument for cycling method
  154.  
  155. [AccessLog]
  156.     enabled=1                           #   Enable/disable access logging
  157.     filename=access.log                 #   Access log filename
  158.     local=1                             #   Log accesses from local addresses
  159.     format=CLFX                         #   CLF, CLFX, MS, LML, XLML, custom
  160.     translate=0                         #   Use RDNS translation
  161.     cycle=daily                         #   When is the file cycled
  162.     cycle-how=rename                    #   Cycling method
  163.     cycle-time=00:00                    #   What time to cycle
  164.     cycle-day=0                         #   What day of week/month to cycle
  165.     cycle-size=0                        #   Max size in Kb for log file
  166.     cycle-lines=0                       #   Max size in lines for log file
  167.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  168.  
  169. [ErrorLog]
  170.     enabled=1                           #   Enable/disable error logging
  171.     filename=errors.log                 #   Error log filename
  172.     local=1                             #   Log accesses from local addresses
  173.     format=CLFX                         #   CLF, CLFX, MS, LML, XLML, custom
  174.     translate=0                         #   Use RDNS translation
  175.     cycle=daily                         #   When is the file cycled
  176.     cycle-how=rename                    #   Cycling method
  177.     cycle-time=00:00                    #   Time to cycle, hh:mm
  178.     cycle-day=0                         #   Day of week/month to cycle
  179.     cycle-size=0                        #   Max size in Kb for log file
  180.     cycle-lines=0                       #   Max size in lines for log file
  181.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  182.  
  183. #   Options for reverse-DNS lookups
  184. [Rdns]
  185.     primary-server=127.0.0.1            #   Primary DNS name server
  186.     secondary-server=""                 #   Secondary DNS name server
  187.     recurse-lookups=1                   #   Use recursive lookups
  188.     debug=0                             #   Debug RDNS lookups
  189.  
  190. [Ftp]
  191.     enabled=1                           #   1=on, 0=off
  192.     root=ftproot                        #   Default Root directory
  193.     welcome=@ftphello.txt               #   text or @filename
  194.     signoff=@ftpadios.txt               #   text or @filename
  195.     login-text=@ftplogin.txt            #   text or @filename
  196.     port=21                             #   FTP port (+ port base)
  197.     timeout=300                         #   Max. duration of live port
  198.     user-file=ftpusers.aut              #   Users authorization file
  199.     directory-file=ftpdirs.aut          #   Directory access file
  200.     dirsort=n                           #   How to sort directory listings
  201.     ipaddress=*                         #   Default passive IP address
  202.     force-ip=0                          #   Use only IP address of config file
  203.     data-port=200                       #   Default data port
  204.     webmask=*                           #   Mask valid client IP addresses
  205.     limit=25                            #   Max. FTP connections (0=no limit)
  206.     check-email=0                       #   Enforce e-mail addresses for anon.
  207.     http-aliases=0                      #   Include HTTP aliases?
  208.     soft-quota=2.5                      #   Default user soft quota, Mb
  209.     hard-quota=5                        #   Default user hard quota, Mb
  210.  
  211. [Ftp-Alias]
  212. #   rootd=d:\                           #   Directory/drive aliases
  213. #   upload=/tmp/upload                  #
  214.  
  215. [FtpLog]
  216.     enabled=1                           #   1=on, 0=off
  217.     filename=access.log                 #   Path + filename
  218.     local=1                             #   Log accesses from local addresses
  219.     format=CLFX                         #   CLF, CLFX, MS, LML, XLML, custom
  220.     translate=0                         #   Use RDNS translation
  221.     cycle=daily                         #   When is the file cycled
  222.     cycle-how=rename                    #   Cycling method
  223.     cycle-time=00:00                    #   What time to cycle
  224.     cycle-day=0                         #   What day of week/month to cycle
  225.     cycle-size=0                        #   Max size in Kb for log file
  226.     cycle-lines=0                       #   Max size in lines for log file
  227.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  228.  
  229. [FtpErrlog]
  230.     enabled=1                           #   1=on, 0=off
  231.     filename=errors.log                 #   Path + filename
  232.     local=1                             #   Log accesses from local addresses
  233.     format=CLFX                         #   CLF, CLFX, MS, LML, XLML, custom
  234.     translate=1                         #   Use RDNS translation
  235.     cycle=daily                         #   When is the file cycled
  236.     cycle-how=rename                    #   Cycling method
  237.     cycle-time=00:00                    #   What time to cycle
  238.     cycle-day=0                         #   What day of week/month to cycle
  239.     cycle-size=0                        #   Max size in Kb for log file
  240.     cycle-lines=0                       #   Max size in lines for log file
  241.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  242.  
  243. #   Hooks for secure socket layer, used by Xitami/Pro
  244. [SSL-http]
  245.     enabled=1                           #   1=enabled
  246.     config-file=sslhttp.cfs             #   SSL configuration file
  247.  
  248. [Mime]
  249.     default=*/*                         #   Default MIME type
  250.  
  251.     #  Text MIME types
  252.     etx=text/x-setext
  253.     htm=text/html
  254.     htp=text/html
  255.     html=text/html
  256.     rtx=text/richtext
  257.     tsv=text/tab-separated-values
  258.     txt=text/plain
  259.     .=text/plain                        #   Files with no extension
  260.  
  261.     #  Image MIME types
  262.     gif=image/gif
  263.     fh=image/x-freehand
  264.     fh4=image/x-freehand
  265.     fh5=image/x-freehand
  266.     fh7=image/x-freehand
  267.     fhc=image/x-freehand
  268.     ief=image/ief
  269.     jpe=image/jpeg
  270.     jpeg=image/jpeg
  271.     jpg=image/jpeg
  272.     pbm=image/x-portable-bitmap
  273.     pgm=image/x-portable-graymap
  274.     png=image/png
  275.     pnm=image/x-portable-anymap
  276.     ppm=image/x-portable-pixmap
  277.     ras=image/x-cmu-raster
  278.     rgb=image/x-rgb
  279.     tif=image/tiff
  280.     tiff=image/tiff
  281.     xbm=image/x-xbitmap
  282.     xpm=image/x-xpixmap
  283.     xwd=image/x-xwindowdump
  284.  
  285.     #  Video MIME types
  286.     avi=video/msvideo
  287.     mov=video/quicktime
  288.     movie=video/x-sgi-movie
  289.     mpe=video/mpeg
  290.     mpeg=video/mpeg
  291.     mpg=video/mpeg
  292.     qt=video/quicktime
  293.     qtv=video/quicktime
  294.  
  295.     #  Audio MIME types
  296.     aif=audio/x-aiff
  297.     aifc=audio/x-aiff
  298.     aiff=audio/x-aiff
  299.     au=audio/basic
  300.     snd=audio/basic
  301.     wav=audio/wav
  302.     mid=audio/midi
  303.     rmi=audio/midi
  304.     ram=audio/x-pn-realaudio
  305.     rpm=audio/x-pn-realaudio-plugin
  306.     ra=audio/x-realaudio
  307.     rm=audio/x-pn-realaudio
  308.     mp3=audio/mpeg
  309.     m3u=audio/mpegurl
  310.     mp3url=audio/mpegurl
  311.  
  312.     #  Application MIME types
  313.     aab=application/x-authorware-bin
  314.     aam=application/x-authorware-map
  315.     aas=application/x-authorware-seg
  316.     ai=application/postscript
  317.     bcpio=application/x-bcpio
  318.     bin=application/octet-stream
  319.     cdf=application/x-netcdf
  320.     cpio=application/x-cpio
  321.     csh=application/x-csh
  322.     dcr=application/x-director
  323.     dir=application/x-director
  324.     doc=application/msword
  325.     dvi=application/x-dvi
  326.     dxr=application/x-director
  327.     eps=application/postscript
  328.     exe=application/octet-stream
  329.     gtar=application/x-gtar
  330.     gz=application/x-gzip
  331.     hdf=application/x-hdf
  332.     jar=application/java-archive
  333.     js=application/x-javascript
  334.     latex=application/x-latex
  335.     ltx=application/x-latex
  336.     lzh=application/x-lzh
  337.     man=application/x-troff-man
  338.     me=application/x-troff-me
  339.     ms=application/x-troff-ms
  340.     nc=application/x-netcdf
  341.     oda=application/oda
  342.     pdf=application/pdf
  343.     ps=application/postscript
  344.     roff=application/x-troff
  345.     rtf=application/rtf
  346.     sh=application/x-sh
  347.     shar=application/x-shar
  348.     spl=application/futuresplash
  349.     src=application/x-wais-source
  350.     sv4cpio=application/x-sv4cpio
  351.     sv4crc=application/x-sv4crc
  352.     swf=application/x-shockwave-flash
  353.     t=application/x-troff
  354.     tar=application/tar
  355.     tcl=application/x-tcl
  356.     tex=application/x-tex
  357.     texi=application/x-texinfo
  358.     texinfo=application/x-texinfo
  359.     tgz=application/x-gzip
  360.     tr=application/x-troff
  361.     txi=application/x-texinfo
  362.     ustar=application/x-ustar
  363.     zip=application/zip
  364.  
  365.     #  VRML MIME types
  366.     wrl=x-world/x-vrml
  367.     wrz=x-world/x-vrml
  368.