Hi friend,
>Hello all.
>
>I'm so confused about the order directive of the httpd.conf(apache) and
>proftpd.conf(proftpd).
>As I know the proftpd.conf is similars to httpd.conf.
>
>When I tested the order directive of the httpd.conf and proftpd.conf
>the
>result is not alike.
>for example,I would like to allow just from 192.168.1.1 and deny all.
...
>(a) httpd.conf
><Directory />
> Order deny,allow
> Allow from 192.168.1.1
> Deny from all
> </Directory>
>
Maybe because you changed the order of configuration ?
>(b) proftpd.conf
><Limit LOGIN>
* > Order deny,allow *
^^^^^^^^^^^
Did you try put Deny parameter before Allow parameter ?
* > Allow from 192.168.1.1 *
* > Deny from all *
See proftpd example:
"By way of example, the following configuration snippit
illustrates a <Limit LOGIN> deny which will cause any incoming
connections from the 10.1.1.x subnet to be immediately
disconnected, without a welcome message:"
"<Limit LOGIN>
Order deny,allow
Deny from 10.1.1.
Allow from all
</Limit>"
></Limit>
>
>
>But (b) is not work, (b) should be modigied
>like this to works well
>
><Limit LOGIN>
> Order allow,deny
> Allow from 192.168.1.1
> Deny from all
></Limit>
>
>
>So, I'm so confused about the directive of the order.
>
>any idea?
>
>Thanks in advance.
>
Anyway, below you can take documentation about proftpd configuration.
http://www.ls-l.net/ftp/
http://www.proftpd.org/docs
http://www.proftpd.org/docs/faq/proftpdfaq-5.html
Best Regards,
--
Douglas Schilling Landgraf
[EMAIL PROTECTED]
--