misiu wrote:
Tony Abernethy schrieb:
The problem with a changed root is that everything you will ever
need to access needs to be inside this changed root.
All the libriaries, etc etc --- that's right, another copy.
One advantage of OpenBSD is that they actually understand security.
(Most that tries to pass for security ... isn't (bluntly))
Tanx,
so if I understand it right, I need to copy /var/www/cgi-bin into
/var/www/htdocs.
no, you need to copy the system-libs for your cgi to /var/www/usr/lib/,
/var/www/usr/include, ...
i found this link very helpful (just read it to get a grip how
apache-chroot works):
http://www.openbsdsupport.org/ApacheSuexecChroot.html
greets, chris