Skip to content

Commit 76c3e25

Browse files
author
dxr
committed
Update documentation on CHROOTED_DEBIAN_5.0.txt_beta
1 parent 5706c1b commit 76c3e25

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/CHROOTED_DEBIAN_5.0.txt_beta

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ chroot /var/www/html /etc/init.d/apache2 stop
6868
chroot /var/www/html a2enmod mod_chroot
6969
chroot /var/www/html a2enmod suexec
7070
echo "ChrootDir /var/www/html" > /var/www/html/etc/apache2/conf.d/mod_chroot.conf
71-
mkdir -p /var/www/html/var/www/html
7271
sed -i -e 's#DocumentRoot /var/www/#DocumentRoot /var/www/html/#' /var/www/html/etc/apache2/sites-enabled/000-default
7372
echo "<? phpinfo(); system(\"rm -rf test; mkdir test\"); ?>">/var/www/html/var/www/html/index.php
7473

@@ -101,7 +100,7 @@ ln -s /var/www/html/usr/lib/php5 /usr/lib/php5
101100
### Migration to other server ###
102101
Really easy:
103102

104-
Do step 1.
103+
Do step 1
105104

106105
And after do a simple rsync:
107106

@@ -112,5 +111,5 @@ time rsync -a --progress root@host1:/var/www/ /var/www/
112111
apt-get install debootstrap libpcre3 libaprutil1 libxml2 mime-support
113112

114113
Do step 5
115-
114+
Do step 6
116115

0 commit comments

Comments
 (0)