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

Ramiro Diaz Trepat ramiro at diaztrepat.name
Sat Sep 19 10:02:16 UTC 2009


Cool, I'm glad to add a little grain of sand :)



On Sat, Sep 19, 2009 at 9:48 AM, Lukas Renggli <renggli at gmail.com> wrote:

> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090919/a2e381f4/attachment-0001.htm


More information about the seaside mailing list