Listing 3 Configuration of a servlet container (TOMCAT)
<Server Name="app1.gsk.it">
<Description>httpd daemon 1, no additional modules</Description>
<Virtualhost Name="www.gsk.it">
<Log Type=access>
<Location>/opt/apache/tomcat/apache_log.${DATE}.txt</Location>
<Action>rotate.sh</Action>
</Log>
<Log Type=access>
<Location>/opt/apache/tomcat/catalina_log.${DATE}.txt</Location>
<Action>ignore.sh</Action>
</Log>
<Log Type=access>
<Location>/opt/apache/tomcat/localhost_access_log.${DATE}.txt</Location>
<Action>rotate.sh</Action>
</Log>
<Log Type=access>
<Location>/opt/apache/tomcat/localhost_log.${DATE}.txt</Location>
<Action>rotate.sh</Action>
</Log>
</Virtualhost>
<Scripts>
<Start>/opt/apache/tomcat/scripts/tomcat start</Start>
<Restart>/opt/apache/tomcat/scripts/tomcat restart</Restart>
<Stop>/opt/apache/tomcat/scripts/tomcat stop</Stop>
</Scripts>
</Server>
|