I have midgard installed on RedHat 9.0 with Apache 1.3.27, MySQL 3.2.3, PHP, 4.33, 
midgard 1.5 from RPM source, Midcom 1.1.1, 

Aegir 1.0.1, Expat 1.95, Spider Admin. There is no problem during the installation 
process. 

The problem occurs when we create websites, the staging site (port 8001) is set up 
with no problem and runs well, but the 

live site (port 80) is not working.

We have no useful error messages to go with (using mozilla or ie), it seems there is 
simply no page served up by midgard from 

the live site.

We have tested the server with a static html page (ie not via midgard) and there's no 
problem with port 80 in this case.

Below is midgard-data.conf

MidgardDatabase midgard midgard gxr0JgykCGsAj


## Uncomment this if you want serve files instead of Midgard URLs
## where there's a match for both. You'd want to use this if you have
## active pages and you're using static dummy pages to force this
## behaviour. Note that this setting is apache-wide, not per-host.
# MidgardFavorFiles On

## Uncomment this for PHP3,
# MidgardRootFile "/usr/lib/apache/midgard-root.php3"
## or this for PHP4
MidgardRootFile "/usr/lib/apache/midgard-root.php"

Listen 8001
NameVirtualHost 192.168.0.193:8001
<VirtualHost 192.168.0.193:8001>
    MidgardEngine On
    ServerName www.walhi.int
    Port 8001
    ErrorLog logs/walhi.int-error_log
    CustomLog logs/walhi.int-access_log combined


    # Switch off magic quotes - it is required with Midgard
    php_value magic_quotes_gpc off
    php_value 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 127.0.0.1:80>
    MidgardDatabase midgardlive midgard password
    MidgardPageCacheDir /var/www/midgard/cachelive
    MidgardEngine On
    ServerName www.walhi.int
    Port 80


    ErrorLog logs/walhi.int-error_log
    CustomLog logs/walhi.int-access_log combined


    # Switch off magic quotes - it is required with Midgard
    php_value magic_quotes_gpc off
    php_value 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>


Any suggestions of things to check are most welcome!

regards from Indonesia,
Willy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to