Hi all,
I am establishing a directory to allow intranet only. But after several test. I found Apache in FC17 is not do as expected.
I have also checked for the apache manual http://httpd.apache.org/docs/2.2/mod...ost.html#order
Then I try to allow all but not my intranet
But I still allow to visit!
will block me and others...
Have anyone ever encountered such situation or have a solution?
I am suing FC17 apache 2.2
I am establishing a directory to allow intranet only. But after several test. I found Apache in FC17 is not do as expected.
Code:
<Directory "/var/www/html/intranet">
Options FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
allow from 192.168.1.0/24
</Directory>
Then I try to allow all but not my intranet
Code:
<Directory "/var/www/html/intranet">
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
deny from 192.168.1.0/24
</Directory>
Code:
<Directory "/var/www/html/intranet">
Options FollowSymLinks
AllowOverride None
Order allow,deny
deny from 192.168.1.0/24
</Directory>
Have anyone ever encountered such situation or have a solution?
I am suing FC17 apache 2.2