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

Ramiro Diaz Trepat ramiro at diaztrepat.name
Sat Sep 19 01:33:39 UTC 2009


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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090919/292f7477/attachment.htm


More information about the seaside mailing list