Note that Apache gets the hostnames from reverse
Note that Apache gets the hostnames from reverse DNS. Because, in many cases, it’s trivial for an administrator to change the reverse DNS hostname, you’re safer using IP addresses, or even blocks of IP addresses, to control access. All of the following are legitimate types of IP address and IP address block arguments for an Allow or Deny statement. ………………………………………………………………………………………. 192.168.0.1,192.168.0.2,192.168.0.3 192.168 192.168.0.0/16 192.168.0.0/255.255.0.0 ………………………………………………………………………………………. The first line here controls a series of three IP addresses. The last three lines mean exactly the same thing as each other, and are simply three different ways of expressing all IP addresses beginning with 192.168. You can easily restrict access to your internal Web site to only company IP addresses by doing something like this: ………………………………………………………………………………………. Order allow,deny Allow from 192.168.1/24 Deny from all ………………………………………………………………………………………. (This, of course, assumes that your company firewall is configured to block spoofed traffic.) Httpd.conf Options Options are general server features that can be enabled and disabled on a directory-by-directory basis. They allow a Web developer to do all sorts of nifty tricks, such as execute programs on the server, enable and disable password protection on directories, and change language handling. These options give the Web developer a lot of power, and they can also generate a lot of support calls, so you need to know what each is and how it works. You specify options inside a directory with the Options keyword. For example, to enable the ExecCGI option for the directory /usr/local/www/data/catalog, you would use the following configuration: ……………………………………………………………………………………….
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Linux Web Hosting services