[EMAIL PROTECTED] wrote:
Hi Michael

  
Michael Henschel <[EMAIL PROTECTED]> wrote:

    
Not Found
The requested URL /midgard was not found on this server.

Any ideas?  Am I doing something stupid?
      

As Piotras says, if you put apache error_log to debug and tail it you
should be able to figure this out. But I would suggest trying the
following:

1) make sure HOST table has correct host name, port and prefix. You can do
this manually by accessing the table in mysql. Also midgard-pageresolve is
useful - if your database user is called midgard then this would do it:
midgard-pageresolve -h [yourmidgardhost] -p [midgardport] -d dump.html -c
ls -P [midgarddatabasepassword]

2) ensure that the files that need to be accessed by apache are owned by
the correct user:group and have correct permissions set. Check especially
the cache, virtual server root and virtual server host file - for me these
are at (/var/local/cache/midgard, /var/local/lib/midgard/vhosts,
/usr/local/etc/midgard/apache/vhosts/)

3) if things still nto working you could check that the correct library
paths were found by the so module: ldd
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/midgard.so
If not then you may need to modify your path and/or add your midgard lib
path (for me this was /usr/local/lib) to /etc/ld.so.conf and execute
ldconfig. Then reinstall the midgard php package.

Hope this helps

Rich


  
Automagic Apache and PHP configuration is almost not possible , so I doubt
if You do something stupid.
You should give more output from Apache logs.

Make sure that midgard is added in php.ini file.
extension = midgard.so
    

I understood from Henri that this is not needed, but i'm still knew to
midgard so wouldn't want to argue bout this with Piotras ;-)

  
You could also set Apache log level to debug
LogLevel debug

Piotras

---------------------------------------------------------------------
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]

  
Thanks folks, I seem to be at least one step closer to getting this going properly.  The HOST table entry was incorrect (IP address instead of the domain name). 

I'm sure that I'll have more difficulty but at least I have some tools for debugging now.

Cheers,

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

Reply via email to