Subversion Repositories suexec-custom

Compare Revisions

Ignore whitespace Rev HEAD → Rev 1

/suexec-custom.patch
15,24 → 15,6
appended to users' home directories (public_html in standard suexec).
.PP
If any of the lines is commented out (with #), suexec will refuse the
--- suexec-custom.config.orig 2013-03-12 17:22:25.835049038 +0100
+++ suexec-custom.config 2013-03-12 17:29:10.583054086 +0100
@@ -1,7 +1,12 @@
+nochroot
/var/www
public_html/cgi-bin
-# The first two lines contain the suexec document root and the suexec userdir
-# suffix. If one of them is disabled by prepending a # character, suexec will
-# refuse the corresponding type of request.
+# The first line contains the path of the chroot jail environment. Use the
+# special word nochroot if you don't want to use a chroot jail.
+# The second line contains the suexec document root and the third line the
+# suexec userdir suffix. If one of them is disabled by prepending a #
+# character, suexec will refuse the corresponding type of request.
+# You cannot comment out the first line: use a path for the chroot jail or
+# the nochroot parameter.
# This config file is only used by the apache2-suexec-custom package. See the
# suexec man page included in the package for more details.
--- suexec-custom.c.orig 2011-07-12 10:38:14.000000000 +0200
+++ suexec-custom.c 2011-07-12 11:32:59.000000000 +0200
@@ -288,6 +288,7 @@ int main(int argc, char *argv[])