BabelObjects-Component-Data-Configurator

 view release on metacpan or  search on metacpan

sample/pleiad/pleiad.xml  view on Meta::CPAN

    <service>apache</service>
    <service>jakarta</service>
    <service>pleiad</service>
    <service>sendmail</service>
  </services>

  <apache>
    <file>
      <default>&bo_base_conf;/apache/httpd.conf.default</default>
      <conf>/usr/local/apache/conf/httpd.conf</conf>
    </file>
      <parameter>
        <loadmodule>
            LoadModule perl_module        libexec/libperl.so
            LoadModule php4_module        libexec/libphp4.so
            LoadModule speling_module     libexec/mod_speling.so
            PerlModule Apache::DBI
            CheckSpelling on
         </loadmodule>
      </parameter>
      <parameter>
         <tomcat>Include /usr/local/babelobjects/conf/tomcat-apache.conf</tomcat>
      </parameter>
      <parameter>
        <user>nobody</user>
      </parameter>
      <parameter>
        <group>nobody</group>
      </parameter>
      <parameter>
        <serveradmin>&admin;@&maildomain;</serveradmin>
      </parameter>
      <parameter>
        <servername>&server;.&webdomain;</servername>
      </parameter>
      <parameter>
        <documentroot>/opt/www/&server;.&webdomain;</documentroot>
      </parameter>
      <parameter>
        <indexlist>index.php index.php3 index.bo Index.php Index.php3 Index.html Index.bo</indexlist>
      </parameter>
      <parameter>
        <addtype>#</addtype>
      </parameter>
      <parameter>
        <namevirtualhost>&ip;:80</namevirtualhost>
      </parameter>
      <parameter>
        <virtualhosts>
         # Configuration d'un serveur web virtuel pour Pleiad
         &lt;VirtualHost &server;.&webdomain;&gt;
             ServerAdmin &admin;@&maildomain;
             ServerName &server;.&webdomain;
             DocumentRoot /opt/www/&server;.&webdomain;
 
             AddType text/html .html .php3 .php
             AddType application/x-httpd-php .html .php3 .php .css
 
             &lt;Location /&gt;
                ErrorDocument     403 http://&server;.&webdomain;/non.html
                ErrorDocument     404 http://&server;.&webdomain;/missing.html
             &lt;/Location&gt;
 
             &lt;Location /SitesWWW&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
 
             &lt;Location /Administration&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
 
             &lt;Location /DOWNLOADS&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;

             &lt;Location /Fr&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
 
             &lt;Location /Recapitulatif.html&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
 
             &lt;Location /sa&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
 
             &lt;Location /cnam/servlet/com.naonet.client.cnam.Administration&gt;
                PerlAccessHandler Apache::auth_www_pleiad
                ErrorDocument     403 http://&server;.&webdomain;/Login.html
             &lt;/Location&gt;
         &lt;/VirtualHost&gt;
 
         &lt;VirtualHost webmail.&webdomain;&gt;
             ServerAdmin &admin;@&maildomain;
             ServerName webmail.&webdomain;
             DocumentRoot /opt/www/webmail.&webdomain;
         &lt;/VirtualHost&gt;
         </virtualhosts>
      </parameter>
  </apache>

  <jakarta>
    <file>
      <default>&bo_base_conf;/jakarta/server.xml.default</default>
      <conf>/usr/local/java/jakarta/jakarta-tomcat/conf/server.xml</conf>
    </file>
    <file>
      <default>&bo_base_conf;/jakarta/web.xml.default</default>
      <conf>/usr/local/java/jakarta/jakarta-tomcat/conf/web.xml</conf>
    </file>
    <file>
      <default>&bo_base_conf;/jakarta/tomcat-apache.conf.default</default>
      <conf>/usr/local/babelobjects/conf/tomcat-apache.conf</conf>
    </file>



( run in 1.452 second using v1.01-cache-2.11-cpan-39bf76dae61 )