Hi.
I have some troubles with my Midgard Server. It has multiple VHosts,
some with Midgard, some without.
Basically I've the following DNS Entries for this server:
*.nathan-syntronics.de -> MyIP
*.nehmer.net -> MyIP
Per Default I switched Midgard of. I did this in the configuration of
the Main Server, which uses the following config:
---
ServerName users.nehmer.net
DocumentRoot "/home/www/htdocs"
MidgardEngine off
---
Then I have a Vhost:
---
<VirtualHost 62.104.113.22:80>
ServerName www.nehmer.net
ServerAdmin [EMAIL PROTECTED]
Port 80
DocumentRoot /home/classic/www.nehmer.net/www
# Switch off magic quotes - it is required with Midgard
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
# Midgard Configuration
MidgardEngine On
MidgardDatabase midgard_nehmer_net midgard midgard
MidgardParser latin1
MidgardBlobDir "/home/www/blobs/midgard_nehmer_net"
# Log Files
CustomLog /home/www/log/www.nehmer.net-access_log combined
ErrorLog /home/www/log/www.nehmer.net-error_log
# Aliases
ScriptAlias /cgi-bin/ "/home/classic/www.nehmer.net/cgi-bin/"
</VirtualHost>
---
Now I have a really amazing behavoir: Everytime I try to access
users.nehmer.net mod_midgard intercepts the call and routes it to the
www.nehmer.net Page, where it should bring the default Apache Page.
Here is my hosts table:
---
mysql> select name,info,port,online,prefix from host;
+----------------+------+------+--------+---------------------+
| name | info | port | online | prefix |
+----------------+------+------+--------+---------------------+
| www.nehmer.net | auth | 443 | 1 | /oldadmin |
| www.nehmer.net | auth | 443 | 1 | /asgard |
| www.nehmer.net | auth | 443 | 1 | /asgard/framed |
| www.nehmer.net | auth | 443 | 1 | /asgard/framed/top |
| www.nehmer.net | auth | 443 | 1 | /asgard/framed/main |
| www.nehmer.net | | 80 | 1 | |
| www.nehmer.net | auth | 80 | 1 | /~matze |
+----------------+------+------+--------+---------------------+
---
The same happens if I define an _default_:* Virtual Host with
MidgardEngine Off. What am I missing? As far as I understood it
MidgardEngine Off can be defined per virtual host, and it will only
intercept if any name:port/prefix combination matches a host entry.
Live long and prosper!
Torben Nehmer
-- ICQ-ID : 14148813 -�- E-Mail : [EMAIL PROTECTED]
WWW : http://www.nathan-syntronics.de --- http://www.nehmer.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]