Problem solved. In the vhost file created by midgard the ServerName needed to have the port number in it as well.
So <VirtualHost domain:8001> was right, but ServerName domain also needs to have the port on it, i.e. ServerName domain:8001. Now let's keep having fun :P -----Original Message----- From: Jon Ortiz [mailto:[EMAIL PROTECTED] Sent: Mon 12/27/2004 9:38 AM To: [email protected] Subject: RE: [midgard-user] Midgard virtualhost not running? On a whim, I ran dpkg-reconfigure midgard-data and the apache2 libs for midgard. I ran midgard-pageresolve again and received this output: midgard-pageresolve -N psa_domain -U admin -P admin -h domain -p 8001 -u /midgard -d dump.html -c ls Connecting to mysql://admin:<hidden>@localhost/psa_domain Resolving host: http://domain:8001/midgard Host found: 5 in sitegroup 0 Resolving page: http://domain:8001/midgard Page found: 49, active=2, redirect=1 Path: 49: Style: 11 Cache is current for page 49 Parse page Cannot open root file midgard-root.php -----Original Message----- 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]
