Hi, > In httpd.conf I have a line "include conf/vhosts/Vhosts.conf" to define > multiple virtual hosts. If I have a name virtual host specified in here, > midgard does not want to work. If I comment the virtualhosts out, > midgard works correctly. This raises another question on how to make > sure that multiple virtual hosts can be defined and setup to > work together?
Group your nameVirtualHost statements together and put them in your httpd file. Just make sure that you put your namevirtualhost statements before you decleare the virtual hosts. Also, make sure that you do not delcreare NameVirtualHost twice. Tarjei Bartho Saaiman wrote: > > Thanks Ami. > > Problem solved. > > > Ami Ganguli wrote: > > > Bartho, > > > > There are a lot of possibilities. The first think I would check is > > that it's really the database that's the problem. Restart Apache and > > check the error_log. The start up message in the log should indicate > > that mod_midgard is loaded. > > > > Then try to access the Midgard page and watch the access log. Look > > for any error in connecting to the MySQL server. > > > > Regards, > > Ami. > > > > > > > > Bartho Saaiman wrote: > > > >> I had a working midgard installation on Mandrake Linux and mySQlL for > >> about 4 days. I then managed to brake the database in such a bad way > >> that it was not showing any pages anymore. > >> The error on the webpage is "The requested URL /asgard was not found > >> on this server". > >> > >> I then dumped the database and recreated it with script supplied but > >> I am now only getting page not found errors. If I look at the db it > >> seems to be ok but it is not bringing up my pages. > >> > >> I s there anyone out there that had a similar problem and managed to > >> fix it that can assist? > >> > > -- > |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-| > Bartho Saaiman > Cellphone * Work +27 72 341 8626 * +27 21 808 2497 ext 204 > Stellenbosch Automotive Engineering http://www.cae.co.za > |-=-=-=-=-=-=-=< registered linux user 236001 >-=-=-=-=-=-=-=-=-| > > --------------------------------------------------------------------- > 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]
