<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 27, 2012, at 10:15 AM, Nick Ager wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
</div> &nbsp;I'll respond to my own question. ;-) Well, the above change works ok in my local environment with Pharo, but when I apply this change to my GLASS instance, all of my CSS and images do not get served. Does this change somehow effect how Seaside with an nginx front-end finds resources in the /var/www/glass directory? I'm not sure what is going on…<br>
</blockquote><div><br></div><div><br></div><div>Hi Larry,</div><div><br></div><div>I'm struggling to understand what the problem is here. How are you accessing your resources? Are you using relative paths? Other than inspecting the html created looking at the resource paths to understand why Nginx isn't serving them I'm afraid I don't have an idea.</div>
<div><br></div></div></blockquote><div><br></div><div>Hello Nick,&nbsp;</div><div>&nbsp; I am also struggling to understand why everything breaks. My nginx.conf file redirects to /var/www/glass for files that I refer to in my code, so I only put 'picture.jpg' for an image, for instance, or 'bootstrap.css', and it all works great. Would you call that a relative path?</div><div><br></div><div>&nbsp; If I put in that single addToPath line in updateUrl:&nbsp;</div><div><br></div><div><blockquote type="cite">updateUrl: aUrl<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space: pre; ">        </span>super updateUrl: aUrl.</blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space: pre; ">        </span>aUrl addToPath: self class name</blockquote></div><div><br></div><div>&nbsp; nothing is found.&nbsp;</div><div><br></div><div>&nbsp; I'm puzzled…..</div><div><br></div><div>&nbsp; Larry</div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div class="gmail_quote"><div>Cheers</div><div><br></div><div>Nick</div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><br></body></html>