View Single Post

  #1 (permalink)  
Old 04-04-2008
howa
 
Posts: n/a
Default Disable public access

I have setup an Apache using default httpd.conf, however, I only want
to access the server via localhost, so I modified,


<Directory />

AllowOverride None
Order deny,allow
Deny from all
Satisfy all

</Directory>

<Directory "/var/www/html">

Options Indexes FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
Allow from 127.0.0.1

</Directory>

However, I found that I still can access the server from Internet, any
points I missed?

Thanks.