services{
#format:
# <service to start>;<port to bind>;<ip|->;<additional params>
#  note ip: - uses default
#  note additional params: optional
    CommandHandler;2323;-
# starts a telnet-accesible command session on port 2323 ;-)
# stop services and list processes here
    TelnetMirror;2324;-
# open a telnet session on port 2324, your input will return mirrored
    ShowHTTPHeader;2325;-
# access this on port 2325 with a browser it gives you the complete http header
    MiniProxy;2326;-
# connect to this miniproxy with a browser on port 2326. hard coded opens a
# connection to 'heise.de' the well known german it review. outputs all the
# headers from browser and from server. here you see how http headers look like.
    ShowUDP;2327;-;1024
# just to test if you can receive udp datagrams
    HTTPService0;2328;-;/home/zdys
# a small http get server. access with a browser on port 2328. gives a directory
# and file listing if you request a directory over http. handy tool to 'fastly'
# download and browse file system on remote machines ;-))
# base directory is set to '/home/zdys' adapt this before starting zserver
}
threads{
#format:
# <thread to start>;<keyname in zServer.threads>;<args>
# since zserver is used for tutorial tasks this implementation will be
# extendended in next releases. the concept is easy, threads do tasks that are not
# relied to ip data- acceptance. for ip related tasks use service section above.
}
constants{
# a bunch of parameters you want to configure to use with either threads or
# services. threads, services and constants give you all you need to build effective programs. 
# kiss please.-
#format:
#   <keyname in zServer.constants>{
#       <key>;<value>
#   }
    playlists{
        zdys;/home/zdys/dev/mp3
# hmm yes there will be a playlist server. an internet radio mirror will come
# too... keep in touch
    }
    mimetypes{
# be kind do NOT use m$ exploits...
        aas;application/x-authorware-seg
        aab;application/x-authorware-bin
        aam;application/x-authorware-map
        aba;audio/x-bamba
        ai;application/postscript
        aif;audio/x-aiff
        aifc;audio/x-aiff
        aiff;audio/x-aiff
        au;audio/basic
        avi;video/x-msvideo
        bcpio;application/x-bcpio
        bin;application/octet-stream
        bz2;application/x-bzip2
        class;application/octet-stream
        cco;application/x-cocoa
        cdf;application/x-netcdf
        cha;audio/x-chacha
        cgi;application/x-httpd-cgi
        cpio;application/x-cpio
        cpt;application/mac-compactpro
        cob;application/zip
        cqk;application/x-calquick
        csh;application/x-csh
        csm;chemical/x-csml
        css;application/x-pointplus
        d96;x-world/x-d96
        dcr;application/x-director
        dir;application/x-director
        dms;application/octet-stream
        doc;application/msword
        dot;application/msword
        dxr;application/x-director
        dvi;application/x-dvi
        ebk;application/x-expandedbook
        emb;chemical/x-embl-dl-nucleotide
        eps;application/postscript
        es;audio/echospeech
        exe;application/octet-stream
        etx;text/x-setext
        fh;image/x-freehand
        fh4;image/x-freehand
        fh5;image/x-freehand
        fh7;image/x-freehand
        fhc;image/x-freehand
        fif;image/fif
        gau;chemical/x-gaussian-input
        gif;image/gif
        gtar;application/x-gtar
        gz;application/x-gzip
        hdf;application/x-hdf
        htm;text/html
        html;text/html
        hqx;application/mac-binhex40
        ice;x-conference/x-cooltalk
        ief;image/ief
        ivr;i-world/i-vrml
        jar;application/octet-stream
        jpe;image/jpeg
        jpeg;image/jpeg
        jpg;image/jpeg
        jps;image/x-jps
        js;application/x-javascript
        kar;audio/midi
        latex;application/x-latex
        lcc;application/fastman
        lha;application/x-lzh
        ls;application/x-javascript
        lzh;application/x-lzh
        man;application/x-troff-man
        mcf;image/vasa
        mct;application/x-mascot
        me;application/x-troff-me
        mid;audio/midi
        midi;audio/midi
        mif;application/x-mif
        mio;audio/x-mio
        mocha;application/x-javascript
        mol;chemical/x-mdl-molfile
        mop;chemical/x-mopac-input
        mov;video/quicktime
        movie;video/x-sgi-movie
        mpe;video/mpeg
        mpg;video/mpeg
        mpeg;video/mpeg
        mpga;audio/mpeg
        mpp;application/x-pixelscooter
        mps;application/x-mapserver
        mp2;audio/mpeg
        mp3;audio/mpeg
        ms;application/x-troff-ms
        mus;x-world/x-d96
        m3u;audio/x-mpegurl
        nc;application/x-netcdf
        nml;animation/narrative
        oda;application/oda
        pac;application/x-ns-proxy-auto-config
        pan;world/x-panoramix
        pbm;image/x-portable-bitmap
        pdb;chemical/x-pdb
        pdf;application/pdf
        pfr;application/font-tdpfr
        pgm;image/x-portable-graymap
        plain;text/plain
        png;image/png
        pnm;image/x-portable-anymap
        pot;application/mspowerpoint
        ppm;image/x-portable-pixmap
        pps;application/mspowerpoint
        ppt;application/mspowerpoint
        ppz;application/mspowerpoint
        ps;application/postscript
        ptlk;plugin/listenup
        qt;video/quicktime
        ra;audio/x-pn-realaudio
        ram;audio/x-pn-realaudio
        ras;image/x-cmu-raster
        rgb;image/x-rgb
        rm;audio/x-pn-realaudio
        roff;application/x-troff
        rtf;application/rtf
        rpm;audio/x-pn-realaudio-plugin
        rtx;text/richtext
        sea;application/octet-stream
        sgm;text/x-sgml
        sgml;text/x-sgml
        sh;application/x-sh
        shar;application/x-shar
        sit;application/x-stuffit
        skd;application/x-koan
        skm;application/x-koan
        skp;application/x-koan
        skt;application/x-koan
        snd;audio/basic
        spl;application/futuresplash
        spr;application/x-sprite
        sprite;application/x-sprite
        spt;application/x-spt
        src;application/x-wais-source
        svi;application/softvision
        svr;x-world/x-svr
        sv4cpio;application/x-sv4cpio
        sv4crc;application/x-sv4crc
        swf;application/x-shockwave-flash
        swx;image/x-xres
        t;application/x-troff
        talk;text/x-speech
        tar;application/x-tar 
        tcl;application/x-tcl
        tex;application/x-tex
        texi;application/x-texinfo
        texinfo;application/x-texinfo
        tgo;video/x-tango
        tgz;application/x-tar
        tif;image/tiff
        tiff;image/tiff
        tr;application/x-troff
        tsi;audio/tsplayer
        tsp;application/dsptype
        tsv;text/tab-separated-values
        txt;text/plain
        ustar;application/x-ustar
        vba;video/x-bamba
        vcd;application/x-cdlink
        vcf;text/x-vcard
        vif;video/x-vif
        viv;video/vnd.vivo
        vivo;video/vnd.vivo
        vox;audio/voxware
        vqe;audio/x-twinvq-plugin
        vqf;audio/x-twinvq
        vql;audio/x-twinvq
        vrml;x-world/x-vrml
        vrt;x-world/x-vrt
        vts;workbook/formulaone
        xbm;image/x-xbitmap
        xdm;application/x-xdma
        xdma;application/x-xdma
        xls;application/x-excel
        xpm;image/x-xpixmap
        xwd;image/x-xwindowdump
        waf;plugin/wanimate
        wan;plugin/wanimate
        wav;audio/x-wav
        wrl;x-world/x-vrml
        xyz;chemical/x-xyz
        z;application/x-compress
        zip;application/zip
    }
}