[Seaside] updateRoot: Weirdness
Jason Johnson
jbjohns at libsource.com
Fri Jul 20 09:24:09 UTC 2007
Richard K Eng wrote:
> FINALLY!!! I found the answer here:
>
> http://inchingforward.blogspot.com/
>
> | ma seaside |
> HttpService allInstancesDo: [:each | each stop. each unregister].
> WAKom stop.
> seaside := WAKom default.
> ma := ModuleAssembly core.
> ma serverRoot: FileDirectory default fullName.
> ma alias: '/seaside' to: [ma addPlug: [:request | seaside process:
> request]].
> ma documentRoot: FileDirectory default fullName.
> ma directoryIndex: 'index.html index.htm'.
> ma serveFiles.
> (HttpService startOn: 8080 named: 'httpd') plug: ma rootModule
>
>
> Seems like the configuring of the web server is very arcane and
> touchy! I'm going to have the above emblazoned on my forehead... :-)
>
> Regards,
> Richard
>
Well, it is doing something similar to what you do in those monstrous
(and monstrously ugly) apache config files. But having a GUI made to do
this kind of configuration would be nice, and much easier since no
config files are involved. Long live zero config files!
More information about the Seaside
mailing list