Hi,<br>I had similar problem. I had not succeeded in Serving Static files. I followed some instructions on this blog<br><a href="http://open-sourcerer.blogspot.com/">http://open-sourcerer.blogspot.com/</a><br><br>you need to replicate your FileLibrary (s) into hard-disk of Server by creating /seaside/files/SULibrary/ <br>
/seaside/files/WAStandardFilesLibrary etc in your
DocumentRoot (/var/www/example)<br><br>When static files/logos/icons/CSS/Js are uploaded to Linux Server from a Windows system, the folders and files do not have a Read-permission for Browsers to serve them. If you change them, I guess your problem would be solved.<br>
<br>Safari browser is also helpful in testing. Check out Activity Window in it, it shows up all the files that have been loaded and you can see 403 error, if a file is not found on disk.<br><br><br>HTH,<br>Rajeev<br><br><div class="gmail_quote">
On Sat, Feb 23, 2008 at 2:44 PM, Norbert Hartl <<a href="mailto:norbert@hartl.name">norbert@hartl.name</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br>
On Thu, 2008-02-21 at 10:23 +0100, Marco D'Ambros wrote:<br>
> On Feb 21, 2008, at 1:30 AM, Ramon Leon wrote:<br>
><br>
> >> Hi all!<br>
> >><br>
> >> The question is: how do I do the same with seaside?<br>
> >> If I use the rewrite module of apache, with this configuration:<br>
> >><br>
> >> <VirtualHost *:80><br>
> >> ServerName <a href="http://www.example.org" target="_blank">www.example.org</a><br>
> >> RewriteEngine On<br>
> >> RewriteRule ^/(.*)$<br>
> >> <a href="http://localhost:8008/seaside/go/example/$1" target="_blank">http://localhost:8008/seaside/go/example/$1</a> [P,L] </VirtualHost><br>
> >><br>
> >> I will be redirected to the correct seaside web site, but in<br>
> >> the browser I will see the url <a href="http://machine.my.org:8008/seaside/go/" target="_blank">machine.my.org:8008/seaside/go/</a><br>
> >> example/<br>
> >><br>
> >> Many thanks and cheers<br>
> >> Marco D'Ambros<br>
> ><br>
> > Here's a working config, should be easily adaptable.<br>
> ><br>
> > <VirtualHost *:80><br>
> > ServerName linuxweb1<br>
> > DocumentRoot /var/www<br>
> > RewriteEngine On<br>
> > ProxyRequests Off<br>
> > ProxyPreserveHost On<br>
> > UseCanonicalName Off<br>
> ><br>
> > # http compression<br>
> > DeflateCompressionLevel 5<br>
> > SetOutputFilter DEFLATE<br>
> > AddOutputFilterByType DEFLATE text/html text/plain text/xml<br>
> > application/xml application/xhtml+xml text/javascript text/css<br>
> > BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
> > BrowserMatch ^Mozilla/4.0[678] no-gzip<br>
> > BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
> ><br>
> > #proxy to seaside if file not found<br>
> > RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f<br>
> > RewriteRule ^/(.*)$ <a href="http://localhost:8080/$1" target="_blank">http://localhost:8080/$1</a> [P,L]<br>
> > </VirtualHost><br>
> ><br>
> > Ramon Leon<br>
> > <a href="http://onsmalltalk.com" target="_blank">http://onsmalltalk.com</a><br>
><br>
><br>
> Thank you very much for your answer. Unfortunately I get a 403<br>
> (Forbidden error) on the browser, and this is the apache log line:<br>
><br>
> client denied by server configuration: proxy:<a href="http://localhost:8018/seaside/go/Churrasco/favicon.ico" target="_blank">http://localhost:8018/seaside/go/Churrasco/favicon.ico</a><br>
> , referer: <a href="http://churrasco.inf.unisi.ch/" target="_blank">http://churrasco.inf.unisi.ch/</a><br>
><br>
> Any idea?<br>
><br>
</div></div>It seems that your page might have been loaded ok. But browsers always<br>
try to request an icon for the browser to display beside the link.<br>
Unfortunately if you have a page with five elements and one results in<br>
a 403 the page might display the 403. That is sad because it appears<br>
on the favicon.ico which you don't really need.<br>
Does your configuration differ from ramons? If you have changed the<br>
RewriteRule line to<br>
<br>
RewriteRule ^/(.*)$ <a href="http://localhost:8018/seaside/go/Churrasco/$1" target="_blank">http://localhost:8018/seaside/go/Churrasco/$1</a> [P,L]<br>
<br>
then it is clear. The browse requests<br>
<br>
http://churrasco.inf.unisi.ch/favicon.ico<br>
<br>
But there is no file on the disk so apache redirects it to your<br>
application. I guess further you have WAAuthConfiguration added to<br>
your application. That would be the reason for the 403. Even if<br>
you've got a session already which is authenticated the request<br>
for the favicon.ico wouldn't contain the session parameters so<br>
it will be asked for authentication again. An easy fix would be<br>
to create a file favicon.ico at the document root of your apache.<br>
<br>
hope this helps,<br>
<font color="#888888"><br>
Norbert<br>
</font><div><div></div><div class="Wj3C7c"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873