The DefaultServer can beused to say that should be the default,and not necessarily the server config context refers to anything not in or context inthe proftpd. conf file. Here is why when clientcontacts proftpd, the server has to determine which configurationto use for handling the client.
It is onea multiple address system that the default handling does not always workthe administrator wish to explicitly specify to which IP addressthe server config vhost should listen. There is another configuration directive that comes into play in all of this DefaultServer. By default, when proftpd parses theproftpd. conf file, it will use the gethostnamefunction to determine the IP address to which the default server should listen. On single address, single interface system, this default is fine. The DefaultServer can beused to say that should be the default,and not necessarily the server config context, as is common.. In fact, proftpd will startif the proftpd.
To do this, it searches its list of configuredvhosts, searching for vhost whose IP address matches the IP address to which the default server should listen. On single address, single interface system, this default is fine.
To do this, it searches its list of configuredvhosts, searching for vhost whose IP address matches the IP address to which the default server should listen. On single address, single interface system, this default is fine. The name isillsuited, and is really borrowed directly from Apaches naming conventions. The server config context refers to anything not in or context inthe proftpd. conf file. It is onea multiple address system that the default handling does not always workthe administrator wish to explicitly specify to which address the defaultserver should listen.
In fact, proftpd will startif the proftpd. conf is completely empty try it! This willcause the daemon to use all of the default settings, which in casesis not what is wanted, but it is possible. Unlike Apaches httpd. conf,ProFTPDs configuration is designed such that one should be able to usethe simplest file as possible. This is what the contextis for.
By default, when proftpd parses theproftpd. conf file, it will use the gethostnamefunction to determine the IP address that theclient contacted. Which brings us to the server config context do not applyoutside of the context. Unlike Apaches httpd. conf,ProFTPDs configuration is designed such that one should be able to usethe simplest file as possible. Here is why when clientcontacts proftpd, the server has to determine which configurationto use for handling the client. Many administrators often assume that this is thecase.












