Hi. I'm trying to setup a new website using Aegir & MidCom based off the
instructions off the web site. I created my company and created a user. I go
to create the web site with the following.
Name: gemini.venmarces.com
Prefix:
Type: Live Only
Template: MidCom site template
Company: Venmar CES Inc.
I click submit. Then I go to the actually address after I added the
information to the midgard-data.conf file for the new site. The new web site
loads up and gives me this, "Forbidden
You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.". To me this appears that Midgard is
not being used for this particular site. Works fine when I place a
index.html into the root directory (smile). BTW, this site is internal so
you will not be able to access it.
Any ideas what I maybe doing wrong or that I might need to fix to have this
work?
Here's my midgard-data.conf file...
MidgardDatabase midgard midgard midgard
## 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/modules/midgard-root.php3"
## or this for PHP4
MidgardRootFile "/usr/lib/apache/modules/midgard-root.php"
#NameVirtualHost 127.0.0.1:80
<VirtualHost 207.195.58.31:80>
MidgardEngine On
ServerName midgard.venmarces.com
Port 80
# 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 207.195.58.31:80>
MidgardEngine On
ServerName gemini.venmarces.com
Port 80
# 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]