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


Listen 80
Listen 8099
Listen 8101
Listen 8102

NameVirtualHost 10.8.8.13:80
NameVirtualHost 10.8.8.13:8101
NameVirtualHost 10.8.8.13:8102

<VirtualHost 10.8.8.13:80>
    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.13:8099>
    MidgardEngine On
    ServerName localhost
    
    
    # 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.13:8101>
    MidgardEngine On
    ServerName localhost
    
    
    # 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.13:8102>
    MidgardEngine On
    ServerName localhost
    
    
    # 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>
