[tbnl-devel] Tip: You can use <Files ...>, too

Edi Weitz edi at agharta.de
Tue Jul 27 12:53:40 UTC 2004


On Tue, 27 Jul 2004 14:02:11 +0200, Stefan Scholl <stesch at no-spoon.de> wrote:

> Looking for a right place for your "SetHandler lisp-handler"?
>
> It isn't restricted to <Location ...>. See
> http://httpd.apache.org/docs/sections.html
>
> Think about mod_lisp-pages with the extension .mlp:
>
> <Files *.mlp>
>         SetHandler lisp-handler
> </Files>
>
> Path must exist. When you access http://some.server.test/foo/bar.mlp
> directory "foo" must exist.

As mentioned in the docs you can also use "LocationMatch." If you do
that the directory "foo" doesn't have to be there.

  <LocationMatch \.mlp$>
    SetHandler lisp-handler
  </Location>

(Not tested.)

Cheers,
Edi.




More information about the Tbnl-devel mailing list