What does you host table in mysql look like?
m Duncan Hill wrote: > Greetings. > > Been slogging through the Midgard install, and I -think- I've done it right, > but it doesn't work. Thusly, I can't have done it right. > > Used the online installation guide, step by step - except for the > midgard-php part, as there was no configure, only mkall. > > Everything midgard related (new apache, php4 etc) was installed in > /devel/midgard/whatever, to keep it out of my other apache engines etc - I > have about 4 installed, each to test different things. > > A phpinfo() output can be found at: > http://bajan.cricalix.net:8181/t.php > > midgard-data.conf is included via Include, and looks like: > MidgardDatabase midgard midgard midgard > #MidgardPageCacheDir /devel/midgard/pc > > ## Uncomment these if you want to use filetemplates > # MidgardTemplate phpelements.xml > # AddType application/x-httpd-php-midgard .mgd > > ## Uncomment this for PHP3, > # MidgardRootFile "/devel/midgard/apache/libexec/midgard-root.php3" > ## or this for PHP4 > MidgardRootFile "/devel/midgard/apache/libexec/midgard-root.php" > > Listen 8181 > Listen 8102 > <VirtualHost 192.168.0.2:8102> > MidgardEngine on > ServerName bajan.cricalix.net > MidgardBlobDir /usr/local/apache/htdocs/blobs > php_value magic_quotes_gpc off > php_value magic_quotes_runtime off > </VirtualHost> > > NameVirtualHost 192.168.0.2:8181 > <VirtualHost 192.168.0.2:8181> > MidgardEngine On > ServerName bajan.cricalix.net > Port 8181 > > # 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 "/devel/midgard/blob" > > # 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> > > > MidgardPageCacheDir had to be commented out, configtest threw errors that it > wasn't defined by any module. > > I also ran the enable stuff in mysql: > update host set name="bajan.cricalix.net",online=1,port=8181 where id=1; > update host set name="bajan.cricalix.net",online=1,port=8102 where prefix in > ('/asgard', '/asgard/framed', '/asgard/framed/top', '/asgard/framed/main'); > > However, when I go to port 8102/asgard, I get a 404 error. > > Is this a common problem? Should I just blow away /devel/midgard and start > from scratch? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
