PDA

Bekijk Volledige Versie : ftpd probleem



timmy
20/12/04, 13:03
Hoi,

bij het aanmaken van een ftp account
(PROftp) mbv. Webmin krijg ik een melding:

Virtual FTP cannot be enabled unless a virtual IP address is allocated

ok, dus het IP adres is allocated, hoe los ik dit op?

groet,
Tim

VisionHost
20/12/04, 13:12
Voor elke virtual server moet je een ip adres opgeven. Het adres kun je niet voor meerdere virtual servers gebruiken ( aangezien je niet 2 x een ftp server kan draaien op dezelfde port/ip. ).

Je zult dus meer ip's moeten definieren ( aliasen aanmaken, meer ip's aanvragen bij je provider etc ).

Bekijk ook de documentatie van proftpd:
-----------------------------------
4.6 Can I run more that one VirtualHost on a single IP?
No, or at least not in the HTTP/1.1 manner of virtual hosting. This is an inbuilt limitation of the current FTP RFC., unlike the HTTP/1.1 spec there is no mechanism comparable to the "Host: foo.bar.com" HTTP header for specifying which host the connection is for. Therefore the only method for determining which VirtualHost the connection is destined for is by the destination IP.


The one exception to this is if you host multiple servers on the same IP but using different ports, however this requires that the connecting client uses a non-standard port and therefore is probably not a good solution for mass hosting.
-----------------------------------

timmy
20/12/04, 13:23
das vind ik wel erg vreemd....
Voorheen altijd voor ieder account/virtual server een eigen FTP login gecreeert.

Is dit nieuw dan?

VisionHost
20/12/04, 14:00
Ik snap niet precies wat je wilt doen.

Accounts aanmaken kun je gewoon doen voor verschillende gebruikers. Hier geef je gewoon op wat hun homedir wordt bijvoorbeeld /home/gebruiker/domein.nl

timmy
20/12/04, 14:29
precies, gewoon een gebruikertje aanmaken.
maar bij het creeeren ervan krijg ik dus die melding. zie boven

het zou misschien kunnen dat de path naar de usersfile verkeerd staat.
ik namelijk '/etc/vsftpd.ftpusers' niet vinden.