Changeset 1464 for trunk/server/common/oursrc/execsys
- Timestamp:
- Feb 12, 2010, 3:52:35 AM (15 years ago)
- Location:
- trunk/server/common/oursrc/execsys
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/execsys/mime.types
r945 r1464 399 399 image/prs.btif 400 400 image/prs.pti 401 image/svg+xml svg 401 402 image/tiff tiff tif 402 403 image/vnd.cns.inf2 -
trunk/server/common/oursrc/execsys/static-cat.c.pre
r104 r1464 336 336 exit(0); 337 337 for (j = 0; j < 2 * NEXTS; j += 2) { 338 if (strc mp(map[j], &argv[1][i]) == 0) {338 if (strcasecmp(map[j], &argv[1][i]) == 0) { 339 339 content_type = map[j + 1]; 340 340 } -
trunk/server/common/oursrc/execsys/upd-execsys
r1358 r1464 61 61 avi 62 62 il 63 JPG64 63 xhtml 65 64 svg 66 65 xaml 67 66 xap 67 wav 68 mid 69 midi 68 70 ); 69 71 … … 77 79 foreach my $ext (split " ", $exts) { 78 80 $map{$ext} = $type; 79 $map{uc($ext)} = $type;80 81 } 81 82 } … … 89 90 foreach my $ext (@dynamic, @static) { 90 91 print CONF <<END 91 <Files *.$ext>92 <FilesMatch "(?i)\\.$ext\$"> 92 93 SetHandler cgi-script 93 94 Options +ExecCGI 94 </Files >95 </FilesMatch> 95 96 96 97 END
Note: See TracChangeset
for help on using the changeset viewer.