Hey Heni;
 
Thanks for the tip, there was no NameVirtualHost generated at all. However, I 
did try to add it to the httpd.conf file generated by midgard and the 
VirtualHost file for the domain (/etc/midgard/apache/vhosts/domain_port) but no 
luck :*(

________________________________

From: Henri Kaukola [mailto:[EMAIL PROTECTED]
Sent: Wed 12/22/2004 10:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] Midgard virtualhost not running?



Hello Jon,

Jon Ortiz wrote:

> 
> Apache2 error.log message:
> [Tue Dec 21 11:19:05 2004] [error] [client XX.XX.XX.XX] File does not
> exist: /var/www/midgard
>
> Midgard.log is empty

OK, meaning that Midgard never kicks in, and that's why
you're getting the error above to the Apache logs.

Do you have

NameVirtualHost domain:8001

somewhere in the Apache confs?

This is something I noticed to be a problem in
Datagard Vhost generation - it always replaces the
NameVirtualHost directive in the /etc/midgard/apache/httpd.conf file
with the latest Vhost created.

Cheers!

   //Henri

> Vhost generated by Midgard:
> <VirtualHost domain:8001>
> ServerName domain
> DocumentRoot /var/lib/midgard/vhosts/domain/8001
> MidgardBlobDir /var/lib/midgard/blobs/psa_database
> MidgardEngine on
> #MidgardRootfile /usr/lib/apache2/modules/midgard-root-nommp.php
> MidgardPageCacheDir /var/cache/midgard
> MidgardRootFile /usr/lib/apache2/modules/midgard-root.php
> MidgardParser UTF-8
> MidgardDefaultRealm "Midgard"
> MidgardDatabase psa_domain admin admin
> RLimitCPU 20 60
> RLimitMem 67108864 134217728
> LogLevel debug
> MidgardLog Debug+ /var/log/midgard.log
> </VirtualHost>
>
> domain:/etc/midgard/apache/vhosts# midgard-pageresolve -U admin -P admin
> -h domain -p 8001 -N psa_domain-v yes
> Connecting to mysql://admin:<hidden>@localhost/psa_domain
> Resolving host: http://domain:8001/
> Host found: 4 in sitegroup 0
> Resolving page: http://domain:8001/
> Page found: 49, active=2, redirect=0
>
> Help :)
>
> -----Original Message-----
> From: Piotras [mailto:[EMAIL PROTECTED]
> Sent: Tue 12/21/2004 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [midgard-user] Midgard virtualhost not running?
> 
>
>>Do you mean in the Vhost for Apache2
>
>
> Did You create any vhost for midgard in main Apache2 configuration dir?
>
>
>>or in the vhost created by Midgard (domain_port in
>>/etc/midgard/apache/vhosts)
>
>
> In that vhost.
>
> Piotras
>
> p.s. Did you use datagard from midgard-data to create vhost and
> database?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



<<winmail.dat>>

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

Reply via email to