linux board wrote:
HI!
Just want to ask anyone who can give me an idea on how can i restrict a webserver by only allowing only authorized domain/IP add. to access it?? Im using a REdhat Linux 2.4.18-14 kernel.
i assume that you're using apache httpd (web server)
just check the webserver's httpd.conf file located at
/etc/httpd/conf/ and look for a similar entry:
... <Directory /var/www/html>
...
Order deny,allow Deny from all Allow from 127.0.0.1 192.168.0.143 sacha.plug.org.ph linux.plug.org.ph
</Directory>
....
machines having the ff IP addresses & domains stated on the "Allow from.." line
are the only ones allowed to access the document root of the webserver.
HTH
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
