summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_chroot/files/15_mod_chroot.conf')
-rw-r--r--www-apache/mod_chroot/files/15_mod_chroot.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/www-apache/mod_chroot/files/15_mod_chroot.conf b/www-apache/mod_chroot/files/15_mod_chroot.conf
index 8294bf759f82..6cd9c5499d58 100644
--- a/www-apache/mod_chroot/files/15_mod_chroot.conf
+++ b/www-apache/mod_chroot/files/15_mod_chroot.conf
@@ -1,6 +1,8 @@
<IfDefine CHROOT>
- <IfModule mod_chroot.c>
- # change this to the web root
- ChrootDir /var/www
- </IfModule>
+ LoadModule chroot_module modules/mod_chroot.so
</IfDefine>
+
+<IfModule mod_chroot.c>
+ # change this to the web root
+ ChrootDir /var/www
+</IfModule>