AddType application/x-httpd-php-midgard .mgd
MidgardTemplate phpelements.xml
MidgardRootFile libexec/midgard-root.php3

Listen 80
Listen 8888
Listen 84


NameVirtualHost 10.8.8.26:80
NameVirtualHost 10.8.8.26:8888
NameVirtualHost 10.8.8.26:84



<VirtualHost 10.8.8.26:80>
    MidgardDatabase midgard midgard midgard
    MidgardEngine On
    ServerName localhost
    Port 80
    
    # Switch off magic quotes - it is required with Midgard
    php3_magic_quotes_gpc off
    php3_magic_quotes_runtime off
    
    # Configure text parser:
    # Change to 'russian' for Russian Midgard
    MidgardParser latin1
    MidgardBlobDir "/var/www/blobs"
    
    # Configuration for Russian Midgard:
    <IfModule mod_charset.c>
     # default charset for real or virtual server (selected if all other charset-
     # selections methods fails)
     CharsetDefault koi8-r
     # Default source (on-disk) charset (we keep all content in DB in KOI8-R 
     # encoding). If you want different encoding, please re-encode midgard-ru.sql
     # before inserting it into DB too.
     CharsetSourceEnc koi8-r
     # Force mod_charset to do its work
     CharsetDisable Off
    </IfModule>
</VirtualHost>




<VirtualHost 10.8.8.26:8888>
    MidgardDatabase consultants midgard midgard
    MidgardEngine On
    ServerName localhost
    Port 8888
    
    # Switch off magic quotes - it is required with Midgard
    php3_magic_quotes_gpc off
    php3_magic_quotes_runtime off
    
    # Configure text parser:
    # Change to 'russian' for Russian Midgard
    MidgardParser latin1
    MidgardBlobDir "/var/www/blobs"
    
    # Configuration for Russian Midgard:
    <IfModule mod_charset.c>
     # default charset for real or virtual server (selected if all other charset-
     # selections methods fails)
     CharsetDefault koi8-r
     # Default source (on-disk) charset (we keep all content in DB in KOI8-R 
     # encoding). If you want different encoding, please re-encode midgard-ru.sql
     # before inserting it into DB too.
     CharsetSourceEnc koi8-r
     # Force mod_charset to do its work
     CharsetDisable Off
    </IfModule>
</VirtualHost>

<VirtualHost 10.8.8.26:84>
     MidgardDatabase midgard midgard midgard
    MidgardEngine On
    ServerName localhost
    Port 84
    
    # Switch off magic quotes - it is required with Midgard
    php3_magic_quotes_gpc off
    php3_magic_quotes_runtime off
    
    # Configure text parser:
    # Change to 'russian' for Russian Midgard
    MidgardParser latin1
    MidgardBlobDir "/var/www/blobs"
    
    # Configuration for Russian Midgard:
    <IfModule mod_charset.c>
     # default charset for real or virtual server (selected if all other charset-
     # selections methods fails)
     CharsetDefault koi8-r
     # Default source (on-disk) charset (we keep all content in DB in KOI8-R 
     # encoding). If you want different encoding, please re-encode midgard-ru.sql
     # before inserting it into DB too.
     CharsetSourceEnc koi8-r
     # Force mod_charset to do its work
     CharsetDisable Off
    </IfModule>
</VirtualHost>
