[Seaside] Re: Apache Error: client denied by server configuration:

Lukas Renggli renggli at gmail.com
Sat Sep 19 08:48:53 UTC 2009


Thank you. We will incorporate what you wrote into the book as soon as possible.

Cheers,
Lukas

2009/9/19 Ramiro Diaz Trepat <ramiro at diaztrepat.name>:
> I have written how to solve this issue that everyone running on a Debian
> based Linux with the latest apache will face, as a comment on the seaside
> book:
>
> http://book.seaside.st/book/advanced/deployment/deployment-apache/configure-apache
>
> Cheers
>
> r.
>
>
> On Fri, Sep 18, 2009 at 12:24 AM, Ramiro Diaz Trepat
> <ramiro at diaztrepat.name> wrote:
>>
>> Hey beach bums,
>> I have been trying to run a seaside image behind an apache2 reverse proxy
>> without success, in spite that have read and based my virtualhost
>> configuration on the instractions given by both Ramón on his blog and on the
>> new seaside book.  I am obviously making a mistake but I can't tell where.
>> Basically I can access static files (served by my virtual host) but the
>> rewrites for the seaside server produce the Forbidden error (403) with the
>> loged message that is on the subject.
>> It somehow seems to be a permissions issue on /
>>
>> My virtual host file looks like this now:
>>
>> <VirtualHost *:80>
>>
>>     # set server name
>>     ServerName myapp.mydomain.com
>>     ProxyPreserveHost On
>>     ProxyRequests Off
>>     RewriteEngine On
>>     UseCanonicalName Off
>>
>>     # configure static file serving
>>     DocumentRoot /var/www/myapp
>>     <Directory /var/www/myapp>
>>         Order deny,allow
>>         Allow from all
>>     </Directory>
>>
>>     # rewrite incoming requests
>>     RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
>>     RewriteRule ^/(.*)$ http://localhost:8080/myapp/$1 [proxy,last]
>>
>>     # http compression
>>     DeflateCompressionLevel 5
>>     SetOutputFilter DEFLATE
>>     AddOutputFilterByType DEFLATE text/html text/plain text/xml
>> application/xml application/xhtml+xml text/javascript text/css
>>     BrowserMatch ^Mozilla/4 gzip-only-text/html
>>     BrowserMatch ^Mozilla/4.0[678] no-gzip
>>     BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
>>
>>     ErrorLog  /var/log/apache2/myapp.error.log
>>     CustomLog /var/log/apache2/myapp.access.log combined
>>
>> </VirtualHost>
>>
>>
>> I will appreciate very much any hint,  thanks.
>>
>> r.
>>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list