tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Brunner <>
Subject Re: web site
Date Wed, 10 Apr 2002 14:24:13 GMT
> This is necessary for every page, but I've got most of the web site up
> and running on my computer.
> source [file join [file dirname [web::request SCRIPT_FILENAME]]]

I don't see why this should be necessary: setting up mod_websh would
look something like (in the WebshConfig file):

  proc web::interpmap {file} {
     return [file join [file dirname [web::request SCRIPT_FILENAME]]]

  web::interpclasscfg [file join [file dirname [web::request SCRIPT_FILENAME]]]
maxrequests 0

This sets up one single interpreter class for all requests.

In, all the code is in a web::initializer command,
except for the dispatch, which looks something like

    web::putxfile [web::request SCRIPT_FILENAME]

or, if the file is not a template, but a script

    source [web::request SCRIPT_FILENAME]

> I've got things mostly squared away for, we now have a
> role account there, which I will set you up with shortly.

Very cool.
Ronnie Brunner                     
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 79 Fax: +41 1 247 70 75

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message