home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 1998 October / PCpro_1998_10.ISO / internet / layout / xitami.exe / xitami.cfg < prev    next >
Encoding:
Text File  |  1998-07-14  |  11.0 KB  |  280 lines

  1. #   xitami.cfg - Configuration file for XITAMI
  2. #   Revised: 98/03/27
  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, or '*'
  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.     debug-dir=debug                     #   Location of debug logs
  26.     dirsort=n                           #   How to sort directory listings
  27.     temp-dir=temp                       #   Where temporary files are placed
  28.     limit=0                             #   Max connections (0 = no limit)
  29.     webpages=webpages                   #   Relative or full path
  30.     default1=index.htm                  #   Any number of default pages
  31.     default2=default.htm                #      called 'default<n>'
  32.     cache-defaults=1                    #   Allow date-based caching
  33.     error-header=@errors/header.htm     #   Shown at start of error screen
  34.     text-400=@errors/text-400.htm       #   Text for each specific error
  35.     text-401=@errors/text-401.htm       #
  36.     text-402=@errors/text-402.htm       #
  37.     text-403=@errors/text-403.htm       #
  38.     text-404=@errors/text-404.htm       #
  39.     text-413=@errors/text-413.htm       #
  40.     text-500=@errors/text-500.htm       #
  41.     text-501=@errors/text-501.htm       #
  42.     text-502=@errors/text-502.htm       #
  43.     error-footer=@errors/footer.htm     #   Shown at end of error screen
  44.     translate=1                         #   Use IP address in redirections
  45.     autostart=0                         #   Restart if TCP/IP not ready
  46.  
  47. [Wsx]
  48.     admin=xiadmin                       #   Administration agent
  49.     error=xierror                       #   Error simulation agent
  50.  
  51. [Filter]
  52.     .ssi=perlssi                        #   Pass *.ssi to PerlSSI
  53.     .shtm=perlssi                       #   Pass *.shtm to PerlSSI
  54.     .shtml=perlssi                      #   Pass *.shtml to PerlSSI
  55.  
  56. [Console]
  57.     refresh=1                           #   Browser-mode console refreshes
  58.     rate=10                             #     every 10 seconds
  59.     capture=1                           #   Capture console output?
  60.     filename=console.log                #   To this file
  61.     append=0                            #   Append if already exists
  62.     startup=1                           #   Startup screen (1..4)
  63.     javascript=0                        #   Use JavaScript in BBA
  64.  
  65. [Alias]
  66. #   cdrom=f:\html                       #   Directory/drive aliases
  67. #   mandy=d:\users\mandy\webpages       #   E.g "http://xxxxx/mandy/"
  68.  
  69. [Virtual-Hosts]
  70. #   www.somehost1.com=host1.cfg         #   Specified by name
  71. #   220.12.25.250=host2.cfg             #   Specified by IP address
  72.  
  73. [Win32]
  74.     16bit-cgi=1                         #   Support 16-bit CGIs?
  75.     secure=0                            #   Secure control panel?
  76.  
  77. [CGI]
  78.     workdir=cgi-bin                     #   Where CGI scripts run
  79.     dirlist=0                           #   Allow directory listings
  80.     debug=0                             #   Keep input and output files
  81.     http-fields=1                       #   Add HTTP_ header fields?
  82.     http-prefix=HTTP_                   #   If so, what prefix?
  83.     form-fields=1                       #   Add form fields to environment?
  84.     form-prefix=FORM_                   #   If so, what prefix?
  85.     form-query=0                        #   Pass form fields as QUERY_STRING?
  86.     environment=1                       #   CGI gets server environment?
  87.     errlog=cgierr.log                   #   CGI stderr output
  88.     full-name=1                         #   Format SCRIPT_NAME with full path?
  89.     exit-ok=0                           #   Do we want an Ok exit code?
  90.     mixed-url=1                         #   Non-CGI files allowed?
  91.     timeout=60                          #   Timeout (seconds) for CGIs
  92.     monitor=200                         #   Monitor rate, milliseconds
  93.     msdos-style=0                       #   Use backslash in pathnames
  94.     stdio=1                             #   Use standard CGI input/output
  95.  
  96. [CGI-Environment]
  97.                                         #   name=value
  98. [CGI-Alias]
  99. #   demos=f:\html\demos                 #   eg. http://xxxx/demos/someprog
  100.  
  101. [LRWP]
  102.     enabled=1                           #   1=on, 0=off
  103.     port=81                             #   Port for LRWP connections
  104.     webmask=local                       #   By default, only local processes
  105.  
  106. [Security]
  107.     password-case=1                     #   Case-sensitive passwords
  108.     filename=xitami.aut                 #   Authorisation file
  109.     dirlist=1                           #   Allow directory listings
  110.     webmask=*                           #   Mask valid client IP addresses
  111.     superuser=""                        #   Superuser access password
  112.     admin=1                             #   Allow browser-based admin
  113.  
  114. [ServerLog]
  115.     enabled=1                           #   1=on, 0=off
  116.     filename=xitami.log                 #   Path + filename
  117.     cycle=daily                         #   When is the file cycled
  118.  
  119. [AccessLog]
  120.     enabled=1                           #   1=on, 0=off
  121.     filename=access.log                 #   Path + filename
  122.     cycle=daily                         #   When is the file cycled
  123.  
  124. [ErrorLog]
  125.     enabled=1                           #   1=on, 0=off
  126.     filename=errors.log                 #   Path + filename
  127.     cycle=daily                         #   When is the file cycled
  128.  
  129. [Ftp]
  130.     enabled=1                           #   1=on, 0=off
  131.     root=ftproot                        #   Default Root directory
  132.     welcome=@ftphello.txt               #   text or @filename
  133.     signoff=@ftpadios.txt               #   text or @filename
  134.     login-text=@ftplogin.txt            #   text or @filename
  135.     port=21                             #   FTP port (+ port base)
  136.     timeout=300                         #   Max. duration of live port
  137.     user-file=ftpusers.aut              #   Users authorization file
  138.     directory-file=ftpdirs.aut          #   Directory access file
  139.     dirsort=n                           #   How to sort directory listings
  140.     ipaddress=127.0.0.1                 #   Default IP address (for passive con
  141.     force-ip=0                          #   Use only IP address of config file
  142.     data-port=200                       #   Default data port
  143.     webmask=*                           #   Mask valid client IP addresses
  144.     limit=25                            #   Max. FTP connections (0=no limit)
  145.     check-email=0                       #   Enforce e-mail addresses for anon.
  146.     http-aliases=0                      #   Include HTTP aliases?
  147.  
  148. [Ftp-Alias]
  149. #   rootd=d:\                           #   Directory/drive aliases
  150. #   upload=/tmp/upload                  #
  151.  
  152. [FtpLog]
  153.     enabled=1                           #   1=on, 0=off
  154.     filename=access.log                 #   Path + filename
  155.     cycle=daily                         #   When is the file cycled
  156.  
  157. [FtpErrlog]
  158.     enabled=1                           #   1=on, 0=off
  159.     filename=errors.log                 #   Path + filename
  160.     cycle=daily                         #   When is the file cycled
  161.  
  162. [SSL_http]
  163.     enabled=0
  164.     config_file=sslhttp.cfs
  165.  
  166. [Mime]
  167.     default=*/*                         #   Default MIME type
  168.  
  169.     #  Text MIME types
  170.     etx=text/x-setext
  171.     htm=text/html
  172.     html=text/html
  173.     rtx=text/richtext
  174.     tsv=text/tab-separated-values
  175.     txt=text/plain
  176.     .=text/plain                        #   Files with no extension
  177.  
  178.     #  Image MIME types
  179.     gif=image/gif
  180.     fh=image/x-freehand
  181.     fh4=image/x-freehand
  182.     fh5=image/x-freehand
  183.     fh7=image/x-freehand
  184.     fhc=image/x-freehand
  185.     ief=image/ief
  186.     jpe=image/jpeg
  187.     jpeg=image/jpeg
  188.     jpg=image/jpeg
  189.     pbm=image/x-portable-bitmap
  190.     pgm=image/x-portable-graymap
  191.     png=image/png
  192.     pnm=image/x-portable-anymap
  193.     ppm=image/x-portable-pixmap
  194.     ras=image/x-cmu-raster
  195.     rgb=image/x-rgb
  196.     tif=image/tiff
  197.     tiff=image/tiff
  198.     xbm=image/x-xbitmap
  199.     xpm=image/x-xpixmap
  200.     xwd=image/x-xwindowdump
  201.  
  202.  
  203.     #  Video MIME types
  204.     avi=video/msvideo
  205.     mov=video/quicktime
  206.     movie=video/x-sgi-movie
  207.     mpe=video/mpeg
  208.     mpeg=video/mpeg
  209.     mpg=video/mpeg
  210.     qt=video/quicktime
  211.  
  212.     #  Audio MIME types
  213.     aif=audio/x-aiff
  214.     aifc=audio/x-aiff
  215.     aiff=audio/x-aiff
  216.     au=audio/basic
  217.     snd=audio/basic
  218.     wav=audio/wav
  219.     mid=audio/midi
  220.     rmi=audio/midi
  221.     ram=audio/x-pn-realaudio
  222.     rpm=audio/x-pn-realaudio-plugin
  223.     ra=audio/x-realaudio
  224.     rm=audio/x-pn-realaudio
  225.  
  226.     #  Application MIME types
  227.     aab=application/x-authorware-bin
  228.     aam=application/x-authorware-map
  229.     aas=application/x-authorware-seg
  230.     ai=application/postscript
  231.     bcpio=application/x-bcpio
  232.     bin=application/octet-stream
  233.     cdf=application/x-netcdf
  234.     cpio=application/x-cpio
  235.     csh=application/x-csh
  236.     dcr=application/x-director
  237.     dir=application/x-director
  238.     doc=application/msword
  239.     dvi=application/x-dvi
  240.     dxr=application/x-director
  241.     eps=application/postscript
  242.     gtar=application/x-gtar
  243.     gz=application/x-gzip
  244.     hdf=application/x-hdf
  245.     js=application/x-javascript
  246.     latex=application/x-latex
  247.     ltx=application/x-latex
  248.     lzh=application/x-lzh
  249.     man=application/x-troff-man
  250.     me=application/x-troff-me
  251.     ms=application/x-troff-ms
  252.     nc=application/x-netcdf
  253.     oda=application/oda
  254.     pdf=application/pdf
  255.     ps=application/postscript
  256.     roff=application/x-troff
  257.     rtf=application/rtf
  258.     sh=application/x-sh
  259.     shar=application/x-shar
  260.     spl=application/futuresplash
  261.     src=application/x-wais-source
  262.     sv4cpio=application/x-sv4cpio
  263.     sv4crc=application/x-sv4crc
  264.     swf=application/x-shockwave-flash
  265.     t=application/x-troff
  266.     tar=application/tar
  267.     tcl=application/x-tcl
  268.     tex=application/x-tex
  269.     texi=application/x-texinfo
  270.     texinfo=application/x-texinfo
  271.     tgz=application/x-gzip
  272.     tr=application/x-troff
  273.     txi=application/x-texinfo
  274.     ustar=application/x-ustar
  275.     zip=application/zip
  276.  
  277.     #  VRML MIME types
  278.     wrl=x-world/x-vrml
  279.     wrz=x-world/x-vrml
  280.