I have a CentOS linux machine hosting web pages for internal sites. How do I configure Apache to serve internal sites?
example virtual host config:
<VirtualHost yourhostname:80> ServerAdmin email@example.com ServerName your-domain.com ServerAlias www.your-domain.com DocumentRoot /www/your-domain/html ScriptAlias /cgi-bin/ /www/your-domain/html/cgi-bin/ ErrorLog /www/your-domain/logs/error_log CustomLog /www/your-domain/logs/access_log combined </VirtualHost>
so if someone has access to the domain and navigates to: http://myipaddress/folder they get the index html of that folder