On Thu, 2008-04-24 at 10:08 -0700, Rick Stevens wrote: > Guillaume wrote: > > hi, > > > > I request your help to run two ftp sites on the same machine with > > proftpd & virtualhost. > > > > in my case, i have 2 domains 1.com & 2.com > > > > I start creating configuration files -one conf file per host- but it's > > not working has expected. > > > > My config: > > 1 host with ONE IP adress. > > +the default ftpsite with higth access restriction > > +the www1 site with some settings, root is located in /data/www1.com > > +the 2.com ftp server with other settings. Root is located in /data/www2.com > > > > I want a behaviour like apache virtual host and i don't know if its possible > > Not possible. FTP does not support the concept of "host headers" which > is what Apache's <VirtualHost> depends on. You can only have one FTP > site per IP address. You could split the content up based on the > username someone uses to get in, but it's still one site. Sorry. > > > -> when user enter the IP adress of the fedora box, the default > > website send the response, and so on, user is unable to connect. > > -> when user enter the domain name he's redirected directly to the > > right ftproot. > > > > > > Actually, ALL ftp connection are redirected to the default ftpsite. > > > > The www1.conf host is registered in the local dns & point to the local > > ip of the server (192.168.28.30) Since it's a local IP number, it would seem feasible to set up an additional IP for the second site. poc -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list