Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@dev]~# sysctl -a | grep -e core -e dump
- kern.corefile: %N.core
- kern.nodump_coredump: 0
- kern.coredump: 1
- kern.sugid_coredump: 1
- debug.elf64_legacy_coredump: 0
- debug.ncores: 5
- debug.elf32_legacy_coredump: 0
- debug.minidump: 1
- hw.an.an_dump: off
- hw.midi.dumpraw: 0
- [root@dev]~# cat /usr/local/etc/mohawk.conf
- # minimal.conf
- # no chroot
- # run as 65534 (nobody ?)
- # listen on all interfaces port http
- # serve /tmp, be careful !
- # dirlist active
- # no index_names
- chroot /home/www
- user www
- mime_type {
- bz2 application/x-bzip2
- c text/plain
- conf text/plain
- css text/css
- gif image/gif
- gz application/x-gzip
- gzip application/x-gzip
- h text/plain
- htm text/html
- html text/html
- ico image/x-icon
- jpeg image/jpeg
- jpg image/jpeg
- js application/x-javascript
- log text/plain
- pdf application/pdf
- png image/png
- tar application/x-tar
- tgz application/x-compressed
- txt text/plain
- xz application/x-compressed
- zip application/x-compressed
- }
- vhost default {
- rootdir /
- dirlist on
- status_url /status
- }
Advertisement
Add Comment
Please, Sign In to add comment