Feature request

Juergen Daubert <[email protected]> Sun, 4 Dec 2005 12:31:57 +0100
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Hi Michiel and list,

while playing around with Trac [1] I came to the point where I=20
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=FCrgen


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=20
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" {*}}
 }
=20
 Control {
    PathMatch /trac/login
	EncryptedUserFile On
	Realm Trac
	UserFile /etc/webaccess
 }
											=09

--=20
Juergen Daubert  |  mailto:[email protected] =20
Korb, Germany    |  http://jue.li/crux