Re: Clearsilver with Boa or similar "bare bones" web server
"rtwalsh26" <[email protected]> Fri, 16 Jan 2009 17:27:32 -0000
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], Brandon Long <blong@...> wrote: > > So, the default cs_static.cgi program works by using the PATH_INFO var. > Using the AddHandler directive causes Apache to just shortcut what you'd > do without it, which is you need to have a url to the cs_static.cgi > program, and then the path to to the template after that. > > An obvious example url would be: > > http://www.foo.com/cgi-bin/cs_static.cgi/path/template.cst > > Where you'd set ScriptAlias to map /path/to/cgi-bin/ to /cgi-bin/ > > Depending on the specifics, you might be able to do something like: > ScriptAlias /path/to/cgi-bin/cs_static.cgi/ /t/ > > http://www.foo.com/t/template.cst > > You can also modify cs_static.cgi to work another way, like take the > template as an argument instead of path: > > http://www.foo.com/cgi-bin/cs_static.cgi?t=/path/template.cst > > Brandon > > On 01/16/09 rtwalsh26 uttered the following other thing: > > Hi, > > > > I'm trying to use Clearsilver with the Boa webserver (www.boa.org). > > As far as I can tell, Boa does not have an "AddHandler" feature like > > Apache, so I'm wondering how to get the template rendered by > > cs_static.cgi. I could make some code mods to Boa, but I was hoping > > someone had an easier method. > > > > Thanks, > > Rick. > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > -- > Chaos reigns within. > Reflect, repent, and reboot. > Order shall return. > -- Suzie Wagner http://www.fiction.net/blong/ > That works, thanks a lot!