Cool, I'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"><<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>></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 <<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>>:<br>
<div><div></div><div class="h5">> I have written how to solve this issue that everyone running on a Debian<br>
> based Linux with the latest apache will face, as a comment on the seaside<br>
> book:<br>
><br>
> <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>
><br>
> Cheers<br>
><br>
> r.<br>
><br>
><br>
> On Fri, Sep 18, 2009 at 12:24 AM, Ramiro Diaz Trepat<br>
> <<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>> wrote:<br>
>><br>
>> Hey beach bums,<br>
>> I have been trying to run a seaside image behind an apache2 reverse proxy<br>
>> without success, in spite that have read and based my virtualhost<br>
>> configuration on the instractions given by both Ramón on his blog and on the<br>
>> new seaside book. I am obviously making a mistake but I can't tell where.<br>
>> Basically I can access static files (served by my virtual host) but the<br>
>> rewrites for the seaside server produce the Forbidden error (403) with the<br>
>> loged message that is on the subject.<br>
>> It somehow seems to be a permissions issue on /<br>
>><br>
>> My virtual host file looks like this now:<br>
>><br>
>> <VirtualHost *:80><br>
>><br>
>> # set server name<br>
>> ServerName <a href="http://myapp.mydomain.com" target="_blank">myapp.mydomain.com</a><br>
>> ProxyPreserveHost On<br>
>> ProxyRequests Off<br>
>> RewriteEngine On<br>
>> UseCanonicalName Off<br>
>><br>
>> # configure static file serving<br>
>> DocumentRoot /var/www/myapp<br>
>> <Directory /var/www/myapp><br>
>> Order deny,allow<br>
>> Allow from all<br>
>> </Directory><br>
>><br>
>> # rewrite incoming requests<br>
>> RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f<br>
>> RewriteRule ^/(.*)$ <a href="http://localhost:8080/myapp/$1" target="_blank">http://localhost:8080/myapp/$1</a> [proxy,last]<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>
>> ErrorLog /var/log/apache2/myapp.error.log<br>
>> CustomLog /var/log/apache2/myapp.access.log combined<br>
>><br>
>> </VirtualHost><br>
>><br>
>><br>
>> I will appreciate very much any hint, thanks.<br>
>><br>
>> r.<br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<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>
><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>