Alistair:
Serving files is quite easy from VisualWave. Do the following:
Go Parcel Manager>>>Application Server >>> Sugesttions and load:
VisualWave
VisualWave Demos
Click Web Server Console now found on Launcher.
Click "Create Server"
Choose "Server Type" to be: WaveHttpRequestBroker
Change the "hostname" if you like, note that in the case of file serving
it is irrelevant i.e. i.e. non-html files , pdf,etc
Change the port if you like
Click "Create" found at bottom of screen.
Click on list entry above for newly created server.
Click "Edit Resolver"
Click "Add Path"
Choose "Resolver Type" to be: VisualWave.FileResponder
Enter Path for example "files" Note: path means a token on url used to
locate the service, has nothing to do with
a path on the file system , sorry had to be said just in case.
Click "Accept"
Select newly created responder from list on left side pane.
Click "Configure Resolver"
Change "Default Directory" if you do not like the specified location
Click "Accept changes"
Click "Back to Resolver"
Click "Start" immediately underneath server listings which will activate
your server.
Then place content under the file system directory associated to
FileResponder created above.
then go to a web browser preferably Opera
and enter something like:
http://mydomain.com:9999/files/myfile.pdf, voila.
Note that recently, they have re-configured Wave to exist under the
Opentalk framework but did not have the time to update the UI's so there
are some bugs related to that which you will not encounter if you follow
the steps outlined above. For example if you decide you want to "edit" the
port number you will encounter a bug associated to an AspectAdaptor
assuming it was still adapting the same type of entity. Maybe that is
fixed in 7.3.
Hope that helps :)
-Charles
On Wed, 22 Dec 2004 22:05:51 +1100, Alistair Grant
<alistair(a)alphalink.com.au> wrote:
Hi Lukas & Charles,
Many thanks for your replies. I should have said in my original message
that I tried SmallWiki 1 on VisualWorks.
This is a personal web site, so there is no significant load, and I'm
trying
to avoid having to deal with Apache. :-)
Using VisualWave to serve up files seems like a good idea. I had a quick
look, but couldn't see any native ability to do this. Charles, is this
something you wrote yourself?
It looks like moving to SmallWiki 2 is the way to go. However the latest
version (1.18) is described as "Broken" in the Cincom Store, and Charles
indicated that stability is a problem, so it sounds like I'll stay with
what
I've got for the moment and keep an eye on the list to see when
SmallWiki2
settles down.
Thanks again,
Alistair.
--
Charles A. Monteiro