What do you mean by doesn't recognize?
On Sun, Aug 22, 2010 at 8:55 AM, Robert Schwarz <[hidden email]> wrote: > Hello, > after switching from Squeak 3.10 to Squeak 4.1 my Seaside (2.8a) Application > don't recognize static css files. > > I'm starting HTTP Service with: > > | ma seaside | > HttpService allInstancesDo: [:each | each stop. each unregister]. > WAKomEncoded stop. > seaside := WAKomEncoded 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: 8008 named: 'httpd') plug: ma rootModule > > and use for WAComponent: > > updateRoot: anHtmlRoot > super updateRoot: anHtmlRoot. > anHtmlRoot stylesheet url: '/gos.css' > > My operating system is MacOSX 10.5.8. The same configuration works fine with > Squeak 3.10 and Seaside 2.8. Any ideas what's going wrong? > Robert > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I mean that the HTML documents are displayed in the browser without any styles. Furthermore I get an Internal Server Error when I use a static index.html (http://localhost:8008/index.html).
----- Internal Server ErrorMessageNotUnderstood: ByteString>>asMIMEType ----- The index file exists in the document root directory and is valide HTML. Am 23.08.2010 um 13:25 schrieb Sean Allen:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Robert,
you can compile #asMIMEType from String to ByteString but i don't recommed to do that. Did you try with File Library to serve .css files? Regards, Facundo
On Mon, Aug 23, 2010 at 12:53 PM, Robert Schwarz <[hidden email]> wrote:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |