Cool, I&#39;m glad to add a little grain of sand :)<br><br><br><br><div class="gmail_quote">On Sat, Sep 19, 2009 at 9:48 AM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you. We will incorporate what you wrote into the book as soon as possible.<br>
<br>
Cheers,<br>
Lukas<br>
<br>
2009/9/19 Ramiro Diaz Trepat &lt;<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I have written how to solve this issue that everyone running on a Debian<br>
&gt; based Linux with the latest apache will face, as a comment on the seaside<br>
&gt; book:<br>
&gt;<br>
&gt; <a href="http://book.seaside.st/book/advanced/deployment/deployment-apache/configure-apache" target="_blank">http://book.seaside.st/book/advanced/deployment/deployment-apache/configure-apache</a><br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; r.<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Sep 18, 2009 at 12:24 AM, Ramiro Diaz Trepat<br>
&gt; &lt;<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hey beach bums,<br>
&gt;&gt; I have been trying to run a seaside image behind an apache2 reverse proxy<br>
&gt;&gt; without success, in spite that have read and based my virtualhost<br>
&gt;&gt; configuration on the instractions given by both Ramón on his blog and on the<br>
&gt;&gt; new seaside book.  I am obviously making a mistake but I can&#39;t tell where.<br>
&gt;&gt; Basically I can access static files (served by my virtual host) but the<br>
&gt;&gt; rewrites for the seaside server produce the Forbidden error (403) with the<br>
&gt;&gt; loged message that is on the subject.<br>
&gt;&gt; It somehow seems to be a permissions issue on /<br>
&gt;&gt;<br>
&gt;&gt; My virtual host file looks like this now:<br>
&gt;&gt;<br>
&gt;&gt; &lt;VirtualHost *:80&gt;<br>
&gt;&gt;<br>
&gt;&gt;     # set server name<br>
&gt;&gt;     ServerName <a href="http://myapp.mydomain.com" target="_blank">myapp.mydomain.com</a><br>
&gt;&gt;     ProxyPreserveHost On<br>
&gt;&gt;     ProxyRequests Off<br>
&gt;&gt;     RewriteEngine On<br>
&gt;&gt;     UseCanonicalName Off<br>
&gt;&gt;<br>
&gt;&gt;     # configure static file serving<br>
&gt;&gt;     DocumentRoot /var/www/myapp<br>
&gt;&gt;     &lt;Directory /var/www/myapp&gt;<br>
&gt;&gt;         Order deny,allow<br>
&gt;&gt;         Allow from all<br>
&gt;&gt;     &lt;/Directory&gt;<br>
&gt;&gt;<br>
&gt;&gt;     # rewrite incoming requests<br>
&gt;&gt;     RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f<br>
&gt;&gt;     RewriteRule ^/(.*)$ <a href="http://localhost:8080/myapp/$1" target="_blank">http://localhost:8080/myapp/$1</a> [proxy,last]<br>
&gt;&gt;<br>
&gt;&gt;     # http compression<br>
&gt;&gt;     DeflateCompressionLevel 5<br>
&gt;&gt;     SetOutputFilter DEFLATE<br>
&gt;&gt;     AddOutputFilterByType DEFLATE text/html text/plain text/xml<br>
&gt;&gt; application/xml application/xhtml+xml text/javascript text/css<br>
&gt;&gt;     BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
&gt;&gt;     BrowserMatch ^Mozilla/4.0[678] no-gzip<br>
&gt;&gt;     BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
&gt;&gt;<br>
&gt;&gt;     ErrorLog  /var/log/apache2/myapp.error.log<br>
&gt;&gt;     CustomLog /var/log/apache2/myapp.access.log combined<br>
&gt;&gt;<br>
&gt;&gt; &lt;/VirtualHost&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I will appreciate very much any hint,  thanks.<br>
&gt;&gt;<br>
&gt;&gt; r.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><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>
</font></blockquote></div><br>