Listing 2 Configuration of a single Web server
<Server Name="www.gsk.it">
<Description>httpd daemon 1, no additional modules</Description>
<Virtualhost Name="www.gsk.it">
<Log Type=access>
<Location>/opt/apache/httpd/var/httpd/logs/gsk/access_log</Location>
<Action>rotate.sh</Action>
</Log>
<Log Type=error>
<Location>/opt/apache/httpd/var/httpd/logs/gsk/error_log</Location>
<Action>rotate.sh</Action>
</Log>
</Virtualhost>
<Virtualhost Name="www.ricercaesanita.it">
<Log Type=access>
<Location>/opt/apache/httpd/var/httpd/logs/ricercaesanita/access_log</Location>
<Action>rotate.sh</Action>
</Log>
<Log Type=error>
<Location>/opt/apache/httpd/var/httpd/logs/ricercaesanita/error_log</Location>
<Action>rotate.sh</Action>
</Log>
</Virtualhost>
<Scripts>
<Stop>/opt/apache/httpd/sbin/httpd/apachectl stop</Stop>
<Start>/opt/apache/httpd/sbin/httpd/apachectl start</Start>
<Restart>/opt/apache/httpd/sbin/httpd/apachectl graceful</Restart>
</Server>
|