home *** CD-ROM | disk | FTP | other *** search
- # xitami.cfg - Configuration file for XITAMI
- # Revised: 99/03/04
- #
- # Note that since 14 Aug 1998, hyphens and underlines in keys are no
- # longer interchangeable; Xitami uses hyphens everywhere except in
- # real names (virtual hosts and aliases).
- #
- # DON'T MODIFY THIS FILE... instead, create a file called 'defaults.cfg'
- # with the sections and entries you need. If you modify this file, any
- # changes WON'T BE SHOWN in the browser-based admin screens. Okay, we
- # warned you.
- #
- #*END
-
- [Server]
- ipaddress=* # * = use any IP address on host
- webpages=webpages # Relative or full path
- defaults=defaults.cfg # Local config file
- base-host=basehost.cfg # Base host config (optional)
- portbase=0 # e.g. 5000 for port 5080
- priority=1 # 1 = normal, 2=low, 3=high
- background=0 # 1 = run as daemon
- refresh=60 # Seconds between refreshes
- cgi-url=/cgi-bin # What defines a CGI URL?
- cgi-bin=cgi-bin # Relative or full path, or '*'
- keep-alive=1 # 1 = use Keep-Alive on ports
- keep-alive-max=25 # Max. transfers on live port
- timeout=30 # Max. duration of live port
- debug=0 # Keep debug logs
- debug-dir=debug # Location of debug logs
- dirsort=n # How to sort directory listings
- temp-dir=temp # Where temporary files are placed
- log-dir=logs # Where log files are placed
- limit=0 # Max connections (0 = no limit)
- advertize=1 # Advertise 'Xitami' in listings
- default1=index.htm # Any number of default pages
- default2=default.htm # called 'default<n>'
- cache-defaults=1 # Allow date-based caching
- header-dir=headers # File headers directory
- error-header=@errors/header.htm # Shown at start of error screen
- text-400=@errors/text-400.htm # Text for each specific error
- text-401=@errors/text-401.htm #
- text-402=@errors/text-402.htm #
- text-403=@errors/text-403.htm #
- text-404=@errors/text-404.htm #
- text-412=@errors/text-412.htm #
- text-413=@errors/text-413.htm #
- text-500=@errors/text-500.htm #
- text-501=@errors/text-501.htm #
- text-502=@errors/text-502.htm #
- error-footer=@errors/footer.htm # Shown at end of error screen
- translate=1 # Use hostname in redirections
- autostart=0 # Restart if TCP/IP not ready
- recover=0 # Recover silently after a crash?
-
- [Wsx]
- admin=xiadmin # Administration agent
- error=xierror # Error simulation agent
- .shtm=xixssi # Pass *.shtm to SSI interpreter
- .shtml=xixssi # Pass *.shtml to SSI interpreter
- .ssi=xixssi # Pass *.ssi to SSI interpreter
-
- [Filter]
- # .ssi=perlssi # Pass *.ssi to PerlSSI
-
- [Console]
- refresh=0 # Browser-mode console refreshes
- rate=10 # every 10 seconds
- capture=1 # Capture console output?
- filename=console.log # To this file
- append=0 # Append if already exists
- startup=1 # Startup screen (1..4)
- javascript=1 # Use JavaScript in WBA
- large-icons=1 # Show large icons in WBA
-
- [Alias]
- # cdrom=f:\html # Directory/drive aliases
- # mandy=d:\users\mandy\webpages # E.g "http://xxxxx/mandy/"
-
- [Virtual-Hosts]
- # www.somehost1.com=host1.cfg # Specified by name
- # 220.12.25.250=host2.cfg # Specified by IP address
-
- [Win32]
- 16bit-cgi=1 # Support 16-bit CGIs?
- secure=0 # Secure control panel?
- service-name=Xitami # WinNT service name
- service-text=Xitami Web Server # WinNT service description
-
- [CGI]
- enabled=1 # CGI programs enabled?
- workdir=- # Where CGI scripts run
- wildcard=0 # Allow /cgi-bin anywhere in URL
- dirlist=0 # Allow directory listings
- debug=0 # Keep input and output files
- http-fields=1 # Add HTTP_ header fields?
- http-prefix=HTTP_ # If so, what prefix?
- form-fields=1 # Add form fields to environment?
- form-prefix=FORM_ # If so, what prefix?
- form-query=0 # Pass form fields as QUERY_STRING?
- environment=1 # CGI gets server environment?
- errlog=cgierr.log # CGI stderr output
- full-name=1 # Format SCRIPT_NAME with full path?
- exit-ok=0 # Do we want an Ok exit code?
- mixed-url=1 # Non-CGI files allowed?
- timeout=60 # Timeout (seconds) for CGIs
- monitor=200 # Monitor rate, milliseconds
- msdos-style=0 # Use backslash in pathnames
- stdio=1 # Use standard CGI input/output
-
- [CGI-Environment]
- # name=value
- [CGI-Alias]
- # demos=f:\html\demos # eg. http://xxxx/demos/someprog
-
- [LRWP]
- enabled=1 # 1=on, 0=off
- port=81 # Port for LRWP connections
- webmask=local # By default, only local processes
-
- [SSI]
- enabled=1 # SSI parsing enabled?
- timefmt="%A, %d-%b-%y %H:%M:%S %Z"
- sizefmt="bytes"
- timeout=30
- errmsg="<P>[Xitami SSI: %s]"
- exec=0
-
- [Security]
- password-case=1 # Case-sensitive passwords
- filename=xitami.aut # Authorisation file
- dirlist=1 # Allow directory listings
- webmask=* # Mask valid client IP addresses
- superuser="" # Superuser access password
- admin=1 # Allow browser-based admin
- safepaths=1 # Check for unsafe filenames
- setuid=0 # Switch to safe uid/gid
- setuid-user=nobody # User id for server process
- setuid-group=nogroup # Group id for server process
- cgi-username="" # Run CGIs under user name
- cgi-groupname="" # Group name or domain
- cgi-password="" # Password if required
-
- [ServerLog]
- enabled=1 # 1=on, 0=off
- filename=xitami.log # Server log filename
- cycle=daily # When is the file cycled
- cycle-how=rename # Cycling method
- cycle-time=00:00 # What time to cycle
- cycle-day=0 # What day of week/month to cycle
- cycle-size=0 # Max size in Kb for log file
- cycle-lines=0 # Max size in lines for log file
- cycle-arg=xi%yy%mm%dd.log # Argument for cycling method
-
- [AccessLog]
- enabled=1 # Enable/disable access logging
- filename=access.log # Access log filename
- local=1 # Log accesses from local addresses
- format=CLFX # CLF, CLFX, MS, LML, XLML, custom
- translate=0 # Use RDNS translation
- cycle=daily # When is the file cycled
- cycle-how=rename # Cycling method
- cycle-time=00:00 # What time to cycle
- cycle-day=0 # What day of week/month to cycle
- cycle-size=0 # Max size in Kb for log file
- cycle-lines=0 # Max size in lines for log file
- cycle-arg=ac%yy%mm%dd.log # Argument for cycling method
-
- [ErrorLog]
- enabled=1 # Enable/disable error logging
- filename=errors.log # Error log filename
- local=1 # Log accesses from local addresses
- format=CLFX # CLF, CLFX, MS, LML, XLML, custom
- translate=0 # Use RDNS translation
- cycle=daily # When is the file cycled
- cycle-how=rename # Cycling method
- cycle-time=00:00 # Time to cycle, hh:mm
- cycle-day=0 # Day of week/month to cycle
- cycle-size=0 # Max size in Kb for log file
- cycle-lines=0 # Max size in lines for log file
- cycle-arg=er%yy%mm%dd.log # Argument for cycling method
-
- # Options for reverse-DNS lookups
- [Rdns]
- primary-server=127.0.0.1 # Primary DNS name server
- secondary-server="" # Secondary DNS name server
- recurse-lookups=1 # Use recursive lookups
- debug=0 # Debug RDNS lookups
-
- [Ftp]
- enabled=1 # 1=on, 0=off
- root=ftproot # Default Root directory
- welcome=@ftphello.txt # text or @filename
- signoff=@ftpadios.txt # text or @filename
- login-text=@ftplogin.txt # text or @filename
- port=21 # FTP port (+ port base)
- timeout=300 # Max. duration of live port
- user-file=ftpusers.aut # Users authorization file
- directory-file=ftpdirs.aut # Directory access file
- dirsort=n # How to sort directory listings
- ipaddress=* # Default passive IP address
- force-ip=0 # Use only IP address of config file
- data-port=200 # Default data port
- webmask=* # Mask valid client IP addresses
- limit=25 # Max. FTP connections (0=no limit)
- check-email=0 # Enforce e-mail addresses for anon.
- http-aliases=0 # Include HTTP aliases?
- soft-quota=2.5 # Default user soft quota, Mb
- hard-quota=5 # Default user hard quota, Mb
-
- [Ftp-Alias]
- # rootd=d:\ # Directory/drive aliases
- # upload=/tmp/upload #
-
- [FtpLog]
- enabled=1 # 1=on, 0=off
- filename=access.log # Path + filename
- local=1 # Log accesses from local addresses
- format=CLFX # CLF, CLFX, MS, LML, XLML, custom
- translate=0 # Use RDNS translation
- cycle=daily # When is the file cycled
- cycle-how=rename # Cycling method
- cycle-time=00:00 # What time to cycle
- cycle-day=0 # What day of week/month to cycle
- cycle-size=0 # Max size in Kb for log file
- cycle-lines=0 # Max size in lines for log file
- cycle-arg=ac%yy%mm%dd.log # Argument for cycling method
-
- [FtpErrlog]
- enabled=1 # 1=on, 0=off
- filename=errors.log # Path + filename
- local=1 # Log accesses from local addresses
- format=CLFX # CLF, CLFX, MS, LML, XLML, custom
- translate=1 # Use RDNS translation
- cycle=daily # When is the file cycled
- cycle-how=rename # Cycling method
- cycle-time=00:00 # What time to cycle
- cycle-day=0 # What day of week/month to cycle
- cycle-size=0 # Max size in Kb for log file
- cycle-lines=0 # Max size in lines for log file
- cycle-arg=er%yy%mm%dd.log # Argument for cycling method
-
- # Hooks for secure socket layer, used by Xitami/Pro
- [SSL-http]
- enabled=1 # 1=enabled
- config-file=sslhttp.cfs # SSL configuration file
-
- [Mime]
- default=*/* # Default MIME type
-
- # Text MIME types
- etx=text/x-setext
- htm=text/html
- htp=text/html
- html=text/html
- rtx=text/richtext
- tsv=text/tab-separated-values
- txt=text/plain
- .=text/plain # Files with no extension
-
- # Image MIME types
- gif=image/gif
- fh=image/x-freehand
- fh4=image/x-freehand
- fh5=image/x-freehand
- fh7=image/x-freehand
- fhc=image/x-freehand
- ief=image/ief
- jpe=image/jpeg
- jpeg=image/jpeg
- jpg=image/jpeg
- pbm=image/x-portable-bitmap
- pgm=image/x-portable-graymap
- png=image/png
- pnm=image/x-portable-anymap
- ppm=image/x-portable-pixmap
- ras=image/x-cmu-raster
- rgb=image/x-rgb
- tif=image/tiff
- tiff=image/tiff
- xbm=image/x-xbitmap
- xpm=image/x-xpixmap
- xwd=image/x-xwindowdump
-
- # Video MIME types
- avi=video/msvideo
- mov=video/quicktime
- movie=video/x-sgi-movie
- mpe=video/mpeg
- mpeg=video/mpeg
- mpg=video/mpeg
- qt=video/quicktime
- qtv=video/quicktime
-
- # Audio MIME types
- aif=audio/x-aiff
- aifc=audio/x-aiff
- aiff=audio/x-aiff
- au=audio/basic
- snd=audio/basic
- wav=audio/wav
- mid=audio/midi
- rmi=audio/midi
- ram=audio/x-pn-realaudio
- rpm=audio/x-pn-realaudio-plugin
- ra=audio/x-realaudio
- rm=audio/x-pn-realaudio
- mp3=audio/mpeg
- m3u=audio/mpegurl
- mp3url=audio/mpegurl
-
- # Application MIME types
- aab=application/x-authorware-bin
- aam=application/x-authorware-map
- aas=application/x-authorware-seg
- ai=application/postscript
- bcpio=application/x-bcpio
- bin=application/octet-stream
- cdf=application/x-netcdf
- cpio=application/x-cpio
- csh=application/x-csh
- dcr=application/x-director
- dir=application/x-director
- doc=application/msword
- dvi=application/x-dvi
- dxr=application/x-director
- eps=application/postscript
- exe=application/octet-stream
- gtar=application/x-gtar
- gz=application/x-gzip
- hdf=application/x-hdf
- jar=application/java-archive
- js=application/x-javascript
- latex=application/x-latex
- ltx=application/x-latex
- lzh=application/x-lzh
- man=application/x-troff-man
- me=application/x-troff-me
- ms=application/x-troff-ms
- nc=application/x-netcdf
- oda=application/oda
- pdf=application/pdf
- ps=application/postscript
- roff=application/x-troff
- rtf=application/rtf
- sh=application/x-sh
- shar=application/x-shar
- spl=application/futuresplash
- src=application/x-wais-source
- sv4cpio=application/x-sv4cpio
- sv4crc=application/x-sv4crc
- swf=application/x-shockwave-flash
- t=application/x-troff
- tar=application/tar
- tcl=application/x-tcl
- tex=application/x-tex
- texi=application/x-texinfo
- texinfo=application/x-texinfo
- tgz=application/x-gzip
- tr=application/x-troff
- txi=application/x-texinfo
- ustar=application/x-ustar
- zip=application/zip
-
- # VRML MIME types
- wrl=x-world/x-vrml
- wrz=x-world/x-vrml
-