I'm a tad confused about how to set make a system that will spin up
several applications at different paths, and include the generic
"config" screen which does a password-protected page to allow
configuration of the other 3 apps.
Below is the code I'm using, but the
http://localhost:7654/ssd/config
doesn't work.
OurDispatcher _ WADispatcher new basePath: '/ssd'.
seaside _ WAKom entryPoint: (OurDispatcher).
ma _ ModuleAssembly core.
ma serverRoot: (FileDirectory default directoryNamed: 'seasideRoot')
fullName.
ma
alias: '/ssd'
to: [ma
addPlug: [:request | seaside process: request]].
ma documentRoot: (FileDirectory default directoryNamed:
'seasideRoot') fullName.
ma directoryIndex: 'index.html index.htm'.
ma serveFiles.
(HttpService startOn: 7654 named: 'seasideHttpd')
plug: ma rootModule.
OurDispatcher registerEntryPoint: (FooComponent applicationWithPath:
'foo') at: 'foo'.
OurDispatcher registerEntryPoint: (BarComponent applicationWithPath:
'bar') at: 'bar'.
OurDispatcher registerEntryPoint: (BazComponent applicationWithPath:
'baz') at: 'baz'.
OurDispatcher registerEntryPoint: (WADispatcherEditor
applicationWithPath: 'config') at: 'config'.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside