On Thu, 4 Nov 1999, Henri Bergius wrote:

> > I'd like to decorate a site of static pages using Midgard. I know
> > I can set up some basic styles and pull in the content with an active
> > page, but there are .htaccess files restricting access to certain
> > directories, which will be ignored if I do the above.
> 
> One thing you could do would be to run two different hosts on
> your server. One would be the normal static Web site, with access
> limited by a firewall. The other would be a Midgard site which would
> just act as a proxy between users and the hidden static server.
> 
> You would have to figure out how to forward the authentication
> requests, though.

*That's it!*

I replicate htpasswd and htgroup into the midgard user tables,
then make the site inaccessible and reset all passwords to a
single secret one. A request for http://user:[EMAIL PROTECTED]/
does the normal Midgard stuff and requests the page from
http://user:[EMAIL PROTECTED]/, passing any errors on.

This is *not* a situation I am going to keep, but it'll allow
me to move that site to Midgard now pending the ACL stuff.

Brilliant! Thanks,
Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to