home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2000 January / PCW0001.ISO / software / sw / outils / xitami.exe / XITAMI.CFG < prev    next >
Encoding:
Text File  |  1999-06-23  |  15.8 KB  |  355 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. [LRWP]
  115.     enabled=1                           #   1=on, 0=off
  116.     port=81                             #   Port for LRWP connections
  117.     webmask=local                       #   By default, only local processes
  118.  
  119. [Security]
  120.     password-case=1                     #   Case-sensitive passwords
  121.     filename=xitami.aut                 #   Authorisation file
  122.     dirlist=1                           #   Allow directory listings
  123.     webmask=*                           #   Mask valid client IP addresses
  124.     superuser=""                        #   Superuser access password
  125.     admin=1                             #   Allow browser-based admin
  126.     safepaths=1                         #   Check for unsafe filenames
  127.     setuid=0                            #   Switch to safe uid/gid
  128.     setuid-user=nobody                  #   User id for server process
  129.     setuid-group=nogroup                #   Group id for server process
  130.  
  131. [ServerLog]
  132.     enabled=1                           #   1=on, 0=off
  133.     filename=xitami.log                 #   Path + filename
  134.     cycle=daily                         #   When is the file cycled
  135.  
  136. [AccessLog]
  137.     enabled=1                           #   Enable/disable access logging
  138.     filename=access.log                 #   Access log filename
  139.     cycle=daily                         #   When is the file cycled
  140.     local=1                             #   Log accesses from local addresses
  141. #   Options for extended logging, used by Xitami/Pro
  142.     extended=1                          #   Use extended logging facilities
  143.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  144.     cycle-how=rename                    #   Cycling method
  145.     cycle-time=00:00                    #   What time to cycle
  146.     cycle-day=0                         #   What day of week/month to cycle
  147.     cycle-size=0                        #   Max size in Kb for log file
  148.     cycle-lines=0                       #   Max size in lines for log file
  149.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  150.     translate=0                         #   Use RDNS translation
  151.  
  152. [ErrorLog]
  153.     enabled=1                           #   Enable/disable error logging
  154.     filename=errors.log                 #   Error log filename
  155.     cycle=daily                         #   When is the file cycled
  156.     local=1                             #   Log accesses from local addresses
  157. #   Options for extended logging, used by Xitami/Pro
  158.     extended=1                          #   Use extended logging facilities
  159.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  160.     cycle-how=rename                    #   Cycling method
  161.     cycle-time=00:00                    #   Time to cycle, hh:mm
  162.     cycle-day=0                         #   Day of week/month to cycle
  163.     cycle-size=0                        #   Max size in Kb for log file
  164.     cycle-lines=0                       #   Max size in lines for log file
  165.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  166.     translate=0                         #   Use RDNS translation
  167.  
  168. #   Options for reverse-DNS lookups, used by Xitami/Pro
  169. [Rdns]
  170.     primary-server=127.0.0.1            #   Primary DNS name server
  171.     secondary-server=""                 #   Secondary DNS name server
  172.     recurse-lookups=1                   #   Use recursive lookups
  173.     debug=0                             #   Debug RDNS lookups
  174.  
  175. [Ftp]
  176.     enabled=1                           #   1=on, 0=off
  177.     root=ftproot                        #   Default Root directory
  178.     welcome=@ftphello.txt               #   text or @filename
  179.     signoff=@ftpadios.txt               #   text or @filename
  180.     login-text=@ftplogin.txt            #   text or @filename
  181.     port=21                             #   FTP port (+ port base)
  182.     timeout=300                         #   Max. duration of live port
  183.     user-file=ftpusers.aut              #   Users authorization file
  184.     directory-file=ftpdirs.aut          #   Directory access file
  185.     dirsort=n                           #   How to sort directory listings
  186.     ipaddress=*                         #   Default passive IP address
  187.     force-ip=0                          #   Use only IP address of config file
  188.     data-port=200                       #   Default data port
  189.     webmask=*                           #   Mask valid client IP addresses
  190.     limit=25                            #   Max. FTP connections (0=no limit)
  191.     check-email=0                       #   Enforce e-mail addresses for anon.
  192.     http-aliases=0                      #   Include HTTP aliases?
  193.     soft-quota=2.5                      #   Default user soft quota, Mb
  194.     hard-quota=5                        #   Default user hard quota, Mb
  195.  
  196. [Ftp-Alias]
  197. #   rootd=d:\                           #   Directory/drive aliases
  198. #   upload=/tmp/upload                  #
  199.  
  200. [FtpLog]
  201.     enabled=1                           #   1=on, 0=off
  202.     filename=access.log                 #   Path + filename
  203.     cycle=daily                         #   When is the file cycled
  204.     local=1                             #   Log accesses from local addresses
  205. #   Options for extended logging, used by Xitami/Pro
  206.     extended=1                          #   Use extended logging facilities
  207.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  208.     cycle-how=rename                    #   Cycling method
  209.     cycle-time=00:00                    #   What time to cycle
  210.     cycle-day=0                         #   What day of week/month to cycle
  211.     cycle-size=0                        #   Max size in Kb for log file
  212.     cycle-lines=0                       #   Max size in lines for log file
  213.     cycle-arg=ac%yy%mm%dd.log           #   Argument for cycling method
  214.     translate=0                         #   Use RDNS translation
  215.  
  216. [FtpErrlog]
  217.     enabled=1                           #   1=on, 0=off
  218.     filename=errors.log                 #   Path + filename
  219.     cycle=daily                         #   When is the file cycled
  220.     local=1                             #   Log accesses from local addresses
  221. #   Options for extended logging, used by Xitami/Pro
  222.     extended=1                          #   Use extended logging facilities
  223.     format=XCLF                         #   CLF, XCLF, MS, LML, XLML, custom
  224.     cycle-how=rename                    #   Cycling method
  225.     cycle-time=00:00                    #   What time to cycle
  226.     cycle-day=0                         #   What day of week/month to cycle
  227.     cycle-size=0                        #   Max size in Kb for log file
  228.     cycle-lines=0                       #   Max size in lines for log file
  229.     cycle-arg=er%yy%mm%dd.log           #   Argument for cycling method
  230.     translate=0                         #   Use RDNS translation
  231.  
  232. #   Hooks for secure socket layer, used by Xitami/Pro
  233. [SSL-http]
  234.     enabled=1                           #   1=enabled
  235.     config-file=sslhttp.cfs             #   SSL configuration file
  236.  
  237. [Mime]
  238.     default=*/*                         #   Default MIME type
  239.  
  240.     #  Text MIME types
  241.     etx=text/x-setext
  242.     htm=text/html
  243.     htp=text/html
  244.     html=text/html
  245.     rtx=text/richtext
  246.     tsv=text/tab-separated-values
  247.     txt=text/plain
  248.     .=text/plain                        #   Files with no extension
  249.  
  250.     #  Image MIME types
  251.     gif=image/gif
  252.     fh=image/x-freehand
  253.     fh4=image/x-freehand
  254.     fh5=image/x-freehand
  255.     fh7=image/x-freehand
  256.     fhc=image/x-freehand
  257.     ief=image/ief
  258.     jpe=image/jpeg
  259.     jpeg=image/jpeg
  260.     jpg=image/jpeg
  261.     pbm=image/x-portable-bitmap
  262.     pgm=image/x-portable-graymap
  263.     png=image/png
  264.     pnm=image/x-portable-anymap
  265.     ppm=image/x-portable-pixmap
  266.     ras=image/x-cmu-raster
  267.     rgb=image/x-rgb
  268.     tif=image/tiff
  269.     tiff=image/tiff
  270.     xbm=image/x-xbitmap
  271.     xpm=image/x-xpixmap
  272.     xwd=image/x-xwindowdump
  273.  
  274.     #  Video MIME types
  275.     avi=video/msvideo
  276.     mov=video/quicktime
  277.     movie=video/x-sgi-movie
  278.     mpe=video/mpeg
  279.     mpeg=video/mpeg
  280.     mpg=video/mpeg
  281.     qt=video/quicktime
  282.  
  283.     #  Audio MIME types
  284.     aif=audio/x-aiff
  285.     aifc=audio/x-aiff
  286.     aiff=audio/x-aiff
  287.     au=audio/basic
  288.     snd=audio/basic
  289.     wav=audio/wav
  290.     mid=audio/midi
  291.     rmi=audio/midi
  292.     ram=audio/x-pn-realaudio
  293.     rpm=audio/x-pn-realaudio-plugin
  294.     ra=audio/x-realaudio
  295.     rm=audio/x-pn-realaudio
  296.     mp3=audio/mpeg
  297.     m3u=audio/mpegurl
  298.     mp3url=audio/mpegurl
  299.  
  300.     #  Application MIME types
  301.     aab=application/x-authorware-bin
  302.     aam=application/x-authorware-map
  303.     aas=application/x-authorware-seg
  304.     ai=application/postscript
  305.     bcpio=application/x-bcpio
  306.     bin=application/octet-stream
  307.     cdf=application/x-netcdf
  308.     cpio=application/x-cpio
  309.     csh=application/x-csh
  310.     dcr=application/x-director
  311.     dir=application/x-director
  312.     doc=application/msword
  313.     dvi=application/x-dvi
  314.     dxr=application/x-director
  315.     eps=application/postscript
  316.     gtar=application/x-gtar
  317.     gz=application/x-gzip
  318.     hdf=application/x-hdf
  319.     jar=application/java-archive
  320.     js=application/x-javascript
  321.     latex=application/x-latex
  322.     ltx=application/x-latex
  323.     lzh=application/x-lzh
  324.     man=application/x-troff-man
  325.     me=application/x-troff-me
  326.     ms=application/x-troff-ms
  327.     nc=application/x-netcdf
  328.     oda=application/oda
  329.     pdf=application/pdf
  330.     ps=application/postscript
  331.     roff=application/x-troff
  332.     rtf=application/rtf
  333.     sh=application/x-sh
  334.     shar=application/x-shar
  335.     spl=application/futuresplash
  336.     src=application/x-wais-source
  337.     sv4cpio=application/x-sv4cpio
  338.     sv4crc=application/x-sv4crc
  339.     swf=application/x-shockwave-flash
  340.     t=application/x-troff
  341.     tar=application/tar
  342.     tcl=application/x-tcl
  343.     tex=application/x-tex
  344.     texi=application/x-texinfo
  345.     texinfo=application/x-texinfo
  346.     tgz=application/x-gzip
  347.     tr=application/x-troff
  348.     txi=application/x-texinfo
  349.     ustar=application/x-ustar
  350.     zip=application/zip
  351.  
  352.     #  VRML MIME types
  353.     wrl=x-world/x-vrml
  354.     wrz=x-world/x-vrml
  355.