Emiliano wrote:
> Host authentication will be enforced by mod_midgard itself, page
> authentication
> can be handled in httpd.conf or .htaccess in the usual way, although you
> will
> want to set MidgardAuth on for those sections, allowing Midgard to
> handle
> authentication for those requests.
There's a patch available at
http://www.iris-advies.com/php/Emile.Heyns/mm-enable.patch.gz
This patch is against midgard-lib and mod_midgard from current CVS. With
this patch you
will be able to do:
AddType application/x-httpd-midgard-php3 .mhtml
or
AddType application/x-httpd-midgard-php4 .mhtml
or whatever other extensions you would care to define. Midgard will pick
it up, set up
the database connection, and pass the request through to php (3 or 4).
You can use authentication from the midgard database by setting
MidgardAuth on for the relevant sections of your httpd.conf, and setting
up
'requires' section as normal for apache.
I'm making this available as a patch because I don't have the time to
test this
properly. If I get enough positive feedback I'll check it in, otherwise
it stays
as a patch until after the release is OK.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]