The Apache 2.2.17 package shipped in pkgsrc 2010Q4 comes with a nice <a href="http://httpd.apache.org/docs/2.2/mod/mpm_common.html#chrootdir">ChrootDir</a> directive that allows simple chroot configuration.
First, you will need Apache in at least version 2.2.10. Then:
# vi /usr/pkg/etc/httpd/httpd.conf (...) #DocumentRoot "/usr/pkg/share/httpd/htdocs" ChrootDir "/usr/pkg/share/httpd" DocumentRoot "/htdocs" (...) # ln -s /usr/pkg/share/httpd/htdocs /htdocsContinue reading...
Petit manuel de prudence à l’usage des candides de l’Internet.
Ce midi, en regardant mes mails à la machine à café (ok, il était 13:50), je tombe sur un mail m’indiquant que ma carte bleue a été volée, frauduleusement utilisée et bloquée par ma banque.
Vu de mon iPhone™, ce mail avait l’air plutôt probable… Je me dis “tiens, mon dernier achat Internet aurait-il été de trop?”…Continue reading...
The NetBSD/xen port is able to run M$ Windows domU, since you have a CPU that features the Intel® VMX instruction.Continue reading...
Today is the day when my SMTP server didn’t want me to relay mail after authentication… This is probably my fault as I may have change something without remembering it. Anyway, here the commands to use to talk SMTP to your favorite server.Continue reading...
Here’s the configuration I use to run OpenBSD 4.9-beta on my NetBSD/xen server (NetBSD 5 with Xen 3.3.1). Since OpenBSD doesn’t provide a Xen-aware kernel, I run it using HVM.Continue reading...