Security Basics mailing list archives

order directive at httpd.conf and proftpd.conf


From: "SB CH" <chulmin2 () hotmail com>
Date: Sat, 26 Oct 2002 06:41:11 +0000


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>

(b) proftpd.conf <Limit LOGIN>
 Order deny,allow
 Allow from 192.168.1.1
 Deny from all
</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.


_________________________________________________________________
MSN Messenger를 통해 온라인상에 있는 친구와 대화를 나누세요. http://messenger.msn.co.kr

Current thread: