Index: [Article Count Order] [Thread]

Date:  Thu, 01 Jun 2006 02:56:42 +0200
From:  Arthur Sherman <arturs (at mark) netvision.net.il>
Subject:  [coba-e:05504] Re: Upgrade to proftpd-1.3.0 -UPDATED
To:  coba-e (at mark) bluequartz.org
Message-Id:  <006201c68516$4022b930$3701a8c0@lapxp>
In-Reply-To:  <005901c68506$cde39560$3701a8c0@lapxp>
X-Mail-Count: 05504

Hi,

In order to enable resume support (which is off by default - don't know why)
you will need to recompile proftpd with mod_rewrite support:
---
#!/bin/sh
rm -fr /tmp/Update-proftpd;
mkdir -p /tmp/Update-proftpd;
cd /tmp/Update-proftpd;
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.0.tar.gz;
tar zxvf proftpd-1.3.0.tar.gz;
cd proftpd-1.3.0;
install_user=nobody install_group=nobody ./configure --prefix=/usr
--sysconfdir=/etc --localstatedir=/var/run \
--mandir=/usr/share/man --with-modules=mod_rewrite:mod_readme
LDFLAGS=-static;
rm -f /etc/proftpd.conf.bak1;
cp /etc/proftpd.conf /etc/proftpd.conf.bak1;
make && make install;
/etc/rc.d/init.d/xinetd restart;
/usr/sbin/in.proftpd -v;
exit 0
---

And add following to /etc/proftpd.conf :
---
# see http://forums.proftpd.org/phpBB2/viewtopic.php?t=960&; see
mod_rewrite;
RewriteEngine on
RewriteCondition %m !PASS
RewriteMap lower-case int:tolower
RewriteRule ^(.*) ${lower-case:$1}

# Normally, we want files to be overwriteable.
<Directory />   
  AllowOverwrite                on
# allow resume uploads
  AllowStoreRestart             on
# allow resume downloads
  AllowRetrieveRestart          on 
</Directory>
---

/etc/rc.d/init.d/xinetd restart


Best,

--
Arthur Sherman

+972-52-4878851
CPTeam