User GroupThen change these items to:
User apache Group apacheIf an error occurs while changing, the group or user declared does not exist and you need to create a new one.
Order Deny, Allow Deny from all Allow from 192.168.1.0/16Where 192.168.1.0/16 is your intranet address. After making changes in the httpd.conf file, you need to restart Apache to apply these changes.
apache2 service configtestWhen you receive the Syntax message OK , you have successfully installed it.
Then, if you need to add options for any directory in the original document, you'll have to add a new Directory tag for each directory.
Order Deny, Allow Deny from all None Options AllowOverride None
chattr + i /path/to/httpd.confIn which /path/to/httpd.conf is the path to the Apache configuration file.