<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey everybody,<br>
    <br>
    i found this old topic and  i have a similar problem.<br>
    I am using the Apache and configurated the Server as described in
    the Seaside book, with the virtual host and all that stuff.<br>
    But my problem is, i do not really get the section with serving
    static files. <br>
    <br>
    Here an example:<br>
    <br>
    I have a login component, with a jpeg logo.<br>
    Until now  i displayed the logo over the image, with a file library,
    but it is too slow.<br>
    Now i use the current vhosts config:<br>
    <br>
    &lt;VirtualHost *&gt;<br>
    <br>
        ProxyPreserveHost On<br>
        ServerName <a class="moz-txt-link-abbreviated" href="http://www.exmaple.eu">www.exmaple.eu</a><br>
        <br>
    <br>
        DocumentRoot "D:/Server/Apache/myApp/web"<br>
        &lt;Directory D:/Server/Apache/myApp/web&gt;<br>
            Order deny,allow<br>
            Allow from all<br>
        &lt;/Directory&gt;<br>
      RewriteEngine On<br>
        RewriteCond  %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f <br>
      RewriteRule ^/(.*)$ <a class="moz-txt-link-freetext" href="http://localhost:6060/myApp/$1">http://localhost:6060/myApp/$1</a> [proxy,last]<br>
    <br>
    <br>
    &lt;/VirtualHost&gt;<br>
    <br>
    My Question is, how do i connect my image with the external content?<br>
    <br>
    At the moment my mehtod looks like this:<br>
    <br>
    <i>renderLogo: html width: aWidth <br>
         <br>
      <br>
          (html image)<br>
              altText: 'Logo';<br>
              width: aWidth;<br>
              url: (FileLibraryWf urlOf: #logoJpeg)</i><br>
    <br>
    Sorry if this is a stupid question, but i thought about it very much
    and do not find a solution.<br>
    <br>
    Thank you very much!<br>
    <br>
    Malte<br>
    <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">Hi,

<a href="http://pastie.org/488614">http://pastie.org/488614</a> is an apache vhost config I have.  The basic
idea is that you put your static resources in some dir and set the
webserver to serve out of there, and then use your server's mod_proxy
to check each request path and serve the file if one's there or proxy
it to seaside if there's no file there.  I haven't done it with
seaside/nginx but you can google for rails/nginx setups because they
work the same way.

Pat

On Sun, May 24, 2009 at 2:47 AM, muthu kutti &lt;<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">muthu.kc at gmail.com</a>&gt; wrote:
&gt;<i> Hi All!
</i>&gt;<i>
</i>&gt;<i> I would like to move jQuery and related files out of the image have them
</i>&gt;<i> served directly by Nginx. How do I go about doing that?
</i>&gt;<i>
</i>&gt;<i> Thanks in advance.
</i>&gt;<i>
</i>&gt;<i> Muthu
</i>&gt;<i>
</i>&gt;<i>
</i>&gt;<i>
</i>&gt;<i>
</i>&gt;<i> _______________________________________________
</i>&gt;<i> seaside mailing list
</i>&gt;<i> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">seaside at lists.squeakfoundation.org</a>
</i>&gt;<i> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</i>&gt;<i>
</i>&gt;</pre>
    <br>
  </body>
</html>