Sorry if I've sent this twice (albiet a slightly different version the
first time)..

Anyway :

I've recently done an installation of midgard 1.4 - followed the
install instructions to a t, and have had trouble getting the midgard
files to load when I connect with my browser.

I've been trying some different configuration settings - mainly with
apache's virtual hosts and I actually got the sites to load when I
changed the ip numbers for each virtual host from my external, to
internal ips... but it only worked for a couple of minutes and now I'm
back to either "File not Found" (in the case of the old admin site) or
directory listings (in the case of the example, and asgard sites).

Here is my midgard-data.conf file called from httpd.conf with
Include /usr/local/apache/conf/midgard-data.conf

This change is what made it work for the 2 minutes, from my local
network.  I've also had my ouside IP address in place of the 10.0.0.2,
but with the same results.

----begin midgard-data.conf-----
MidgardDatabase midgard midgard midgard
MidgardTemplate phpelements.xml
AddType application/x-httpd-php-midgard .mgd

MidgardRootFile libexec/midgard-root.php3

Listen 80
Listen 8099
Listen 8101
Listen 8102

NameVirtualHost 10.0.0.2:80
NameVirtualHost 10.0.0.2:8099
NameVirtualHost 10.0.0.2:8101
NameVirtualHost 10.0.0.2:8102

<VirtualHost 10.0.0.2:80>
ServerName www.stevil.net
Port 80
Documentroot /usr/local/apache/htdocs
</VirtualHost>

<VirtualHost 10.0.0.2:8099>
MidgardEngine on
Servername www.stevil.net
Port 8099
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
</VirtualHost>

<VirtualHost 10.0.0.2:8101>
MidgardEngine on
ServerName www.stevil.net
Port 8101
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
</VirtualHost>

<VirtualHost 10.0.0.2:8102>
MidgardEngine on
ServerName www.stevil.net
MidgardBlobDir /usr/local/apache/htdocs/blobs
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
</VirtualHost>

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

Reply via email to