Robert,<div>you can compile #asMIMEType from String to ByteString but i don&#39;t recommed to do that.</div><div>Did you try with File Library to serve .css files?</div><div><br></div><div>Regards,</div><div>Facundo<br><br>
<div class="gmail_quote">On Mon, Aug 23, 2010 at 12:53 PM, Robert Schwarz <span dir="ltr">&lt;<a href="mailto:r.schwarz@blackstream.at">r.schwarz@blackstream.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">I mean that the <span style="font-family:verdana, helvetica, arial, sans-serif;font-size:11px">HTML documents are displayed in the browser without any styles. Furthermore I get an Internal Server Error when I use a static index.html (<a href="http://localhost:8008/index.html" target="_blank">http://localhost:8008/index.html</a>).</span><div>
<font face="verdana, helvetica, arial, sans-serif" size="3"><span style="font-size:11px">-----</span></font></div><div><font face="verdana, helvetica, arial, sans-serif" size="3"><span style="font-size:11px">Internal Server ErrorMessageNotUnderstood: ByteString&gt;&gt;asMIMEType<div>
<br></div>KomHttpServer/7.1a (Mac OS) Server at &#39;localhost&#39; Port 8008</span></font></div><div><font face="verdana, helvetica, arial, sans-serif" size="3"><span style="font-size:11px">-----</span></font></div><div>
<font face="verdana, helvetica, arial, sans-serif" size="3"><span style="font-size:11px">The index file exists in the document root directory and is valide HTML.</span></font></div><div><div><font face="verdana, helvetica, arial, sans-serif" size="3"><span style="font-size:11px"><br>
</span></font><div><div>Am 23.08.2010 um 13:25 schrieb Sean Allen:</div><div><div></div><div class="h5"><br><blockquote type="cite"><div>What do you mean by doesn&#39;t recognize?<br><br>On Sun, Aug 22, 2010 at 8:55 AM, Robert Schwarz<br>
&lt;<a href="mailto:r.schwarz@blackstream.at" target="_blank">r.schwarz@blackstream.at</a>&gt; wrote:<br><blockquote type="cite">Hello,<br></blockquote><blockquote type="cite">after switching from Squeak 3.10 to Squeak 4.1 my Seaside (2.8a) Application<br>
</blockquote><blockquote type="cite">don&#39;t recognize static css files.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I&#39;m starting HTTP Service with:<br></blockquote><blockquote type="cite">
<br></blockquote><blockquote type="cite">| ma seaside |<br></blockquote><blockquote type="cite">HttpService allInstancesDo: [:each | each stop. each unregister].<br></blockquote><blockquote type="cite">WAKomEncoded stop.<br>
</blockquote><blockquote type="cite">seaside := WAKomEncoded default.<br></blockquote><blockquote type="cite">ma := ModuleAssembly core.<br></blockquote><blockquote type="cite">ma serverRoot: FileDirectory default fullName.<br>
</blockquote><blockquote type="cite">ma alias: &#39;/seaside&#39; to: [ma addPlug: [:request | seaside process:<br></blockquote><blockquote type="cite">request]].<br></blockquote><blockquote type="cite">ma documentRoot: FileDirectory default fullName.<br>
</blockquote><blockquote type="cite">ma directoryIndex: &#39;index.html index.htm&#39;.<br></blockquote><blockquote type="cite">ma serveFiles.<br></blockquote><blockquote type="cite">(HttpService startOn: 8008 named: &#39;httpd&#39;) plug: ma rootModule<br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and use for WAComponent:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">updateRoot: anHtmlRoot<br></blockquote>
<blockquote type="cite">       super updateRoot: anHtmlRoot.<br></blockquote><blockquote type="cite">       anHtmlRoot stylesheet url: &#39;/gos.css&#39;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">
My operating system is MacOSX 10.5.8. The same configuration works fine with<br></blockquote><blockquote type="cite">Squeak 3.10 and Seaside 2.8. Any ideas what&#39;s going wrong?<br></blockquote><blockquote type="cite">Robert<br>
</blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">seaside mailing list<br></blockquote><blockquote type="cite"><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
</blockquote><blockquote type="cite"><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote><blockquote type="cite">
<br></blockquote>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></blockquote></div></div></div><br></div></div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>