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

Hi! 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. Regards, Stefan

On Tue, 27 Jul 2004 14:02:11 +0200, Stefan Scholl <stesch@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.

On Tue, Jul 27, 2004 at 02:53:40PM +0200, Edi Weitz wrote:
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>
In addition to SetHandler, do not forget about AddHandler. I use it as follows: <Location /tbnl> AddHandler lisp-handler .html .css </Location> This sends only .css and .html files under /tbnl to the lisp handler.
participants (3)
-
Edi Weitz
-
pete-tbnl-dev@kazmier.com
-
Stefan Scholl