Creating /anders-www/umr-download directory
each ftp user needs created a directory in their home ftp folder link-to-umr-download
then you link it to the "real" directory with the files with a mount
root@pfeiew540:/anders-ftp/p.reast@anders.co.uk# mount --bind /anders-www/download /anders-ftp/p.reast\@anders.co.uk/link-to-download
to undo the above merely cd /anders-ftp/p.reast...
umount link-to-download
THEN configure apache to access those files (allowing browsing for password auth users)
<Directory /anders-www/umr5-download>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
DAV On
AuthType Basic
AuthName "Download"
AuthUserFile /anders-password/download.password
Require valid-user
</Directory>
Alias /umr5-download /anders-www/umr5-download
don't forget to /etc/init.d/apache2 reload /etc/init.d/apache2 restart
links to the files (which are passworded by anders-password/download.password) should be:
http://download.anders.co.uk/umr5-download/Application_Notes/AN100_SDK_5Series_Rev1.1.pdf
http://download.anders.co.uk/umr5-download