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

Ramiro Diaz Trepat ramiro at diaztrepat.name
Thu Sep 17 23:24:15 UTC 2009


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/20090918/363720c7/attachment-0001.htm


More information about the seaside mailing list