<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi list,<br>
<br>
please excuse if I ask something that had been asked before, but I
can't find a solution.<br>
Reference:<br>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/pipermail/blueonyx/2009-July/001575.html">http://mail.blueonyx.it/pipermail/blueonyx/2009-July/001575.html</a><br>
<a class="moz-txt-link-freetext" href="http://blueonyx.mail.blueonyx.narkive.com/BXui2MYr/blueonyx-01431-default-ftp-login-to-web-folder">http://blueonyx.mail.blueonyx.narkive.com/BXui2MYr/blueonyx-01431-default-ftp-login-to-web-folder</a><br>
The other posts tell you have to use the fqdn rather than the IP. In
my case there is no difference if I use the IP or the hostname. The
problem remains the same.<br>
<br>
<b>The issue:</b><br>
We are running 5209R and the problem is when an ftp user logs in,
he's put into the following directory:<br>
~/.users/24/vh_423352_4<br>
The full path looks like this:<br>
/home/.sites/148/site16/.users/24/vh_423352_4<br>
<br>
This is nasty because the user just puts the html files into the
"web" directory and he keeps wondering why his website isn't
working.<br>
We need to tell every single customer to go into "../../../web"
instead. We want the user to be put into this directory by default.<br>
<br>
Here the proftpd.conf<br>
[...]<br>
DefaultRoot / wheel<br>
DefaultRoot / admin-users<br>
DefaultRoot ~/../../.. site-adm<br>
DefaultRoot ~ !site-adm<br>
<VirtualHost [[our_public_ip]]><br>
DefaultRoot / wheel<br>
DefaultRoot / admin-users<br>
DefaultRoot ~/../../.. site-adm<br>
DefaultRoot ~ !site-adm<br>
AllowOverwrite on<br>
DefaultChdir /web<br>
DisplayLogin .ftphelp<br>
</VirtualHost><br>
[...]<br>
<br>
Thank you in advance<br>
<br>
<pre class="moz-signature" cols="72">--
Jochen Demmer
System- und Netzwerkspezialist
RelAix Networks GmbH
Kackertstraße 10
52072 Aachen
Tel.: 0241 / 990001-206
Fax: 0241 / 990001-149
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jdemmer@relaix.net">jdemmer@relaix.net</a>
Internet: <a class="moz-txt-link-freetext" href="http://www.relaix.net/">http://www.relaix.net/</a>
Geschäftsführer: Thomas Neugebauer
Amtsgericht Aachen, HRB 15108</pre>
</body>
</html>