summaryrefslogtreecommitdiff
path: root/mathopd/mathopd.conf
blob: 93d6e860ed14b31bf8931974c6ff81f484682cb3 (plain)
    1 #
    2 # /etc/mathopd.conf
    3 #
    4 
    5 User     www
    6 LogGMT   On
    7 Log      /var/log/mathopd/%Y%m%d.log
    8 ErrorLog /var/log/mathopd/errorlog
    9 
   10 Tuning {
   11 	NumConnections 24
   12 	BufSize 12288
   13 	InputBufSize 2048
   14 	ScriptBufSize 4096
   15 }
   16 
   17 LogFormat {
   18 	Ctime
   19 	RemoteUser
   20 	RemoteAddress
   21 	RemotePort
   22 	ServerName
   23 	Method
   24 	URI
   25 	QueryString
   26 	Version
   27 	Status
   28 	ContentLength
   29 	BytesRead
   30 	BytesWritten
   31 }
   32 
   33 Control {
   34 	ChildLog /var/log/mathopd/childlog
   35 
   36 	Types {
   37 		application/andrew-inset { .ez }
   38 		application/excel { .xls }
   39 		application/oda { .oda }
   40 		application/pdf { .pdf }
   41 		application/pgp { .pgp }
   42 		application/postscript { .ps .PS .eps }
   43 		application/rtf { .rtf }
   44 		application/x-arj-compressed { .arj }
   45 		application/x-bcpio { .bcpio }
   46 		application/x-chess-pgn { .pgn }
   47 		application/x-cpio { .cpio }
   48 		application/x-csh { .csh }
   49 		application/x-debian-package { .deb }
   50 		application/x-msdos-program { .com .exe .bat }
   51 		application/x-dvi { .dvi }
   52 		application/x-gtar { .gtar }
   53 		application/x-gunzip { .gz }
   54 		application/x-hdf { .hdf }
   55 		application/x-latex { .latex }
   56 		application/x-mif { .mif }
   57 		application/x-netcdf { .cdf .nc }
   58 		application/x-perl { .pl .pm }
   59 		application/x-rar-compressed { .rar }
   60 		application/x-sh { .sh }
   61 		application/x-shar { .shar }
   62 		application/x-sv4cpio { .sv4cpio }
   63 		application/x-sv4crc { .sv4crc }
   64 		application/x-tar { .tar }
   65 		application/x-tar-gz { .tgz .tar.gz }
   66 		application/x-tcl { .tcl }
   67 		application/x-tex { .tex }
   68 		application/x-texinfo { .texi .texinfo }
   69 		application/x-troff { .t .tr .roff }
   70 		application/x-troff-man { .man }
   71 		application/x-troff-me { .me }
   72 		application/x-troff-ms { .ms }
   73 		application/x-ustar { .ustar }
   74 		application/x-wais-source { .src }
   75 		application/x-zip-compressed { .zip }
   76 		audio/basic { .snd }
   77 		audio/midi { .mid .midi }
   78 		audio/ulaw { .au }
   79 		audio/x-aiff { .aif .aifc .aiff }
   80 		audio/x-wav { .wav }
   81 		image/gif { .gif }
   82 		image/ief { .ief }
   83 		image/jpeg { .jpe .jpeg .jpg }
   84 		image/png { .png }
   85 		image/tiff { .tif .tiff }
   86 		image/x-cmu-raster { .ras }
   87 		image/x-portable-anymap { .pnm }
   88 		image/x-portable-bitmap { .pbm }
   89 		image/x-portable-graymap { .pgm }
   90 		image/x-portable-pixmap { .ppm }
   91 		image/x-rgb { .rgb }
   92 		image/x-xbitmap { .xbm }
   93 		image/x-xpixmap { .xpm }
   94 		image/x-xwindowdump { .xwd }
   95 		text/html { .html .htm }
   96 		text/plain { .asc .txt }
   97 		text/css { .css }
   98 		text/richtext { .rtx }
   99 		text/tab-separated-values { .tsv }
  100 		text/x-setext { .etx }
  101 		video/dl { .dl }
  102 		video/fli { .fli }
  103 		video/gl { .gl }
  104 		video/mpeg { .mp2 .mpe .mpeg .mpg }
  105 		video/quicktime { .mov .qt }
  106 		video/x-msvideo { .avi }
  107 		video/x-sgi-movie { .movie }
  108 		x-world/x-vrml { .vrm .vrml .wrl }
  109 
  110 		application/octet-stream { * }
  111 	}
  112 
  113 #	External { 
  114 #		/usr/bin/php { php }
  115 #		/usr/bin/eruby { rhtml }
  116 #	}
  117 
  118 	IndexNames { index.html index.htm }
  119 }
  120 
  121 
  122 
  123 Server {
  124 	Port 80
  125 
  126 	Virtual {
  127 		AnyHost
  128 
  129 		Control {
  130 			Alias /
  131 			Location /var/www
  132 			AutoIndexCommand /usr/bin/dir_cgi
  133 			Specials { CGI { dir_cgi } }
  134 		}
  135 
  136 		Control {
  137 			Alias /cgi-bin
  138 			Location /var/www/cgi-bin
  139 			Specials { CGI { * } }
  140 		}
  141 	}
  142 }
  143 
  144 # End of file

Generated by cgit