[Seaside] Seaside with Commanche file serving
Brett Taylor
brett.taylor at healthauditors.com
Sun Nov 23 20:09:30 CET 2003
Thanks Stephen,
This was exactly what I needed. It all worked once I figured out I had
the wrong version of Comanche installed.
Brett
On Sun, 2003-11-23 at 09:55, Stephen Pair wrote:
> From the class comments of KomHttpServerInfo:
>
> If you have loaded Seaside, you can start a web server that serves
> Seaside based applications using the following configuration:
>
> | ma seaside |
> 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
>
> Anything with a uri beginning with /seaside will be directed at Seaside,
> anything else serves files out of your default file directory (the
> directory you started squeak from).
>
> - Stephen
>
> Brett Taylor wrote:
>
> >I am new to Seaside and need a little help. I have built an application
> >using Seaside under Squeak that allows users to upload gif and jpeg
> >images to a site, and then later display the same images. Right now, I
> >convert the images to a Form, and when asked to display the image I use:
> >html imageWithForm: aForm
> >
> >For performance and space reasons, I need to start serving the files off
> >of disk. Eventually I'll probably switch to Apache, but for now I'd like
> >to use Comanche to serve the files. How do I configure Comanche to
> >serve the gif and jpeg files, and still maintain the WAKom server?
> >
> >BTW, Seaside is a great web development environment!
> >Thanks,
> >Brett Taylor
> >
> >_______________________________________________
> >Seaside mailing list
> >Seaside at lists.squeakfoundation.org
> >http://lists.squeakfoundation.org/listinfo/seaside
> >
> >
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
More information about the Seaside
mailing list