<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
     <docRoot>/home/lsong/proj/www/</docRoot>
     <contextList>
         <context>
             <uri>/serv_admin/</uri>
             <root>serv_admin/</root>
             <handlerType>NULL</handlerType>
             <allowBrowse/>
             <htAccess>
                <realm>ServerAdmin</realm>
                <userDB type="file">conf/htpasswd</userDB>
             </htAccess>
         </context>
         <context>
             <uri>/fcgi-bin/php</uri>
             <root>localhost:5557</root>
             <handlerType>fcgi</handlerType>
         </context>
     </contextList>
     <scriptHandlerList>
         <scriptHandler suffix="php">/fcgi-bin/php</scriptHandler>
     </scriptHandlerList>
     <indexFileList>
        <indexFile>index.htm</indexFile>
        <indexFile>index.php</indexFile>
        <indexFile>index.html</indexFile>
        <indexFile>default.html</indexFile>
     </indexFileList>
     <errUrlList>
         <errUrl code="404">/error404.html</errUrl>
     </errUrlList>
     <security>
         <enableScript>true</enableScript>
     </security>
     <logging>
          <vhLog>
              <fileName>err.txt</fileName>
              <logLevel>ERROR</logLevel>
          </vhLog>
          <accessLog>
              <fileName>ac.txt</fileName>
              <append>true</append>
              <keepDays>90</keepDays>
          </accessLog>
      </logging>
     
</virtualHostConfig>
