[Bese-devel] Re: ucw 0.3.6pre1

Marco Baringer mb at bese.it
Tue Feb 8 16:53:25 UTC 2005


rm at fabula.de writes:

> On Tue, Feb 08, 2005 at 10:29:20AM -0600, Alan Shutko wrote:
>> Ideally, I'd have the httpd.conf snippet specify what pages are static
>> and what pages go to a handler.  Probably by full URLs.
>
> Hmm, but that's pretty tricky on a per-file basis. One _could_ emit configuration
> statements to be used by mod_rewrite but that's a clumsy kludgi IMHO (nd not 
> really an option for "real" websites with lots of graphics and static content).

we could also do it the other way around. ucw would emit (every time
an entry-point needs te registered/unregistered) a new httpd.conf
snippet containing:

<Location [application.url-prefix][entry-point.url]>
  SetHandler lisp
</Location>

a large app would have many such lines (i've got an app with just
under 100), but it's still less than the number of static files
(thoudands for the aforementioned app) and it'd be pretty easy to do
(from the ucw side at least).

> Anyway, since  we were talking about publish-directory: why not put the stylesheet(s)
> into a subdirectory (say css/stylesheet.css) - that would make dispatch on the Apache-
> side much simpler ...

i was going to suggest that people prefix actions with /ucw/ [or
cgi-bin] and let apache select based on that, but isn't that the same
as uisng the .ucw suffix?

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list