Juergen Daubert
Sun, 04 Dec 2005 04:01:34 -0800
Hi Michiel and list,
while playing around with Trac [1] I came to the point where I
missed a feature in mathopd.
To explain this I'll do a short comparison of apache and Mathopd
for some features:
Apache Mathopd
----------------------
Alias -> Alias
Directory -> Location
Location -> ?
As you can see we have nothing like the apache Location function.
IMHO this should be a Control block entry which do some things
when a ULR path matches, like setting env variables or asking for
passwords. See also the virtual trac example below.
Make this sense, what do you think ?
kind regards
Jürgen
BTW, I got trac running as FastCGI in a simular way I described
it for php in the Mathopd Wiki. It would be very nice if we had
a Specials { FCGI } ;-)
[1] http://trac.edgewall.com/
Control {
Alias /trac
Location /var/www/cgi-bin/trac.fcgi
External {"/usr/bin/cgi-fcgi -bind -connect /tmp/trac.sock" {*}}
}
Control {
PathMatch /trac/login
EncryptedUserFile On
Realm Trac
UserFile /etc/webaccess
}
--
Juergen Daubert | [EMAIL PROTECTED]
Korb, Germany | http://jue.li/crux