HI,
I have some Apache web sites running on Red Hat
Server. They are all publicly available, but I would like one of them to be
available only to users on my LAN. Can It be set up so
that local users can have access and remote users are blocked or asked for a
password?
Thanks
Omar Olivos wrote:
HI,
I have some Apache web sites running on Red Hat Server. They are all
publicly available, but I would like one of them to be available only to
users on my LAN. Can It be set up so that local users can have access
and remote users are blocked or asked for a password?
You can put an .htaccess file in the root folder for the site and
that will make it require a password for anyone logging in. Also
I believe that you can set the IP address in httpd.conf to allow only
192.168.x.x to be allowed to access the page.
http://httpd.apache.org/docs/howto/auth.html