Click to See Complete Forum and Search --> : Web Server Suggerstions


Bios_Hakr
12-28-2001, 08:35 PM
I have apache and proftpd running on a small office intranet server. I want to only allow access to specific IP addresses. All others should be denied.

I also want to have 2 or 3 virtual servers running. One for accounting, another for records management. I looked at the /var/www/ layout structure and i only saw one html/ and cgi-bin/ directory. Can I create a /var/www/site1/ and a /var/www/site2/ with their own cgi-bin/ under that?

~Bios

Whipping Boy
01-03-2002, 08:34 PM
yeah

just put the necessary config settings within the <VirtualServer></VirtualServer> directives for each virtual server.

Whipping Boy
01-05-2002, 03:38 PM
As for only allowing certain IP addresses, check out /etc/hosts.allow and /etc/hosts.deny