gugus

mohawk

Jan 6th, 2014
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [root@dev]~# sysctl -a | grep -e core -e dump
  2. kern.corefile: %N.core
  3. kern.nodump_coredump: 0
  4. kern.coredump: 1
  5. kern.sugid_coredump: 1
  6. debug.elf64_legacy_coredump: 0
  7. debug.ncores: 5
  8. debug.elf32_legacy_coredump: 0
  9. debug.minidump: 1
  10. hw.an.an_dump: off
  11. hw.midi.dumpraw: 0
  12.  
  13. [root@dev]~# cat /usr/local/etc/mohawk.conf
  14. # minimal.conf
  15. # no chroot
  16. # run as 65534 (nobody ?)
  17. # listen on all interfaces port http
  18. # serve /tmp, be careful !
  19. # dirlist active
  20. # no index_names
  21.  
  22. chroot /home/www
  23. user www
  24.  
  25. mime_type {
  26. bz2 application/x-bzip2
  27. c text/plain
  28. conf text/plain
  29. css text/css
  30. gif image/gif
  31. gz application/x-gzip
  32. gzip application/x-gzip
  33. h text/plain
  34. htm text/html
  35. html text/html
  36. ico image/x-icon
  37. jpeg image/jpeg
  38. jpg image/jpeg
  39. js application/x-javascript
  40. log text/plain
  41. pdf application/pdf
  42. png image/png
  43. tar application/x-tar
  44. tgz application/x-compressed
  45. txt text/plain
  46. xz application/x-compressed
  47. zip application/x-compressed
  48. }
  49.  
  50. vhost default {
  51. rootdir /
  52. dirlist on
  53. status_url /status
  54. }
Advertisement
Add Comment
Please, Sign In to add comment