On 06/12/05, Juergen Daubert <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 05, 2005 at 06:25:56PM +0000, Lou Kamenov wrote:
> > On 04/12/05, Juergen Daubert <[EMAIL PROTECTED]> wrote:
[..]
> A Mathopd Alias can only be used together with a Location keyword
> an maps a URI to a filesystem path, whereas a apache Location is
> a control-block that get respected if a URI matches.

Location is a bit more general; If you check the manual you can do:

...
Alias /google
Location http://www.google.com/
...

Though you have to add all the aliases you need.

> In the above psydo-code the keyword PathMatch, which should be better
> called UriMatch or so, is exactly that what apaches Location is.
> A request to http://<hostname>/trac/login should be passed to the
> trac.fcgi script with the pathinfo 'login' after authentification was
> successful (see Mathopd's PathInfo keyword).

i.e. PathInfo should be /trac/login? or do you get only '/' or?

Hm I have Instiki running with mathopd without any problems without needing
Apache's Location, see below:

Control {
  ScriptUser daemon
  Alias /
  Location /path/to/instiki-ar/public
  Specials {
       CGI { dispatch.cgi }
  }
  IndexNames { dispatch.cgi }
}

Though getting this to work on Apache wasn't that straight forward.
There's an fcgi script as well - didn't find the time to play with it.

best,
Lou

Reply via email to