[Seaside] Apache and virtual host

Diogenes Moreira diogenes.moreira at gmail.com
Thu Feb 21 10:19:33 UTC 2008


Hi marco:

403 Error is a Authorization Error. You are trying access to protected
resourses or apache's user don't have permission to read those resources.
The ramon server configuration is ok. If you copied this configuration, the
problem must be an other stuff.

If you can, Please send me you apache configuration, I'll take a look and
the I'm been sending some advice.

Please, don't send that file to the list...I hate when some one do this,

Regard.

On Thu, Feb 21, 2008 at 7:23 AM, Marco D'Ambros <marco.dambros at lu.unisi.ch>
wrote:

> On Feb 21, 2008, at 1:30 AM, Ramon Leon wrote:
>
> >> Hi all!
> >>
> >> The question is: how do I do the same with seaside?
> >> If I use the rewrite module of apache, with this configuration:
> >>
> >> <VirtualHost *:80>
> >> ServerName www.example.org
> >> RewriteEngine On
> >> RewriteRule ^/(.*)$
> >> http://localhost:8008/seaside/go/example/$1 [P,L] </VirtualHost>
> >>
> >> I will be redirected to the correct seaside web site, but in
> >> the browser I will see the url machine.my.org:8008/seaside/go/
> >> example/
> >>
> >> Many thanks and cheers
> >> Marco D'Ambros
> >
> > Here's a working config, should be easily adaptable.
> >
> > <VirtualHost *:80>
> >    ServerName linuxweb1
> >    DocumentRoot /var/www
> >    RewriteEngine On
> >    ProxyRequests Off
> >    ProxyPreserveHost On
> >    UseCanonicalName Off
> >
> >    # 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
> >
> >    #proxy to seaside if file not found
> >    RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
> >    RewriteRule ^/(.*)$ http://localhost:8080/$1 [P,L]
> > </VirtualHost>
> >
> > Ramon Leon
> > http://onsmalltalk.com
>
>
> Thank you very much for your answer. Unfortunately I get a 403
> (Forbidden error) on the browser, and this is the apache log line:
>
> client denied by server configuration: proxy:
> http://localhost:8018/seaside/go/Churrasco/favicon.ico
> , referer: http://churrasco.inf.unisi.ch/
>
> Any idea?
>
> thanks again
> Cheers
> Marco
>
>
> _______________________________________________
> 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/20080221/f1be9f84/attachment.htm


More information about the seaside mailing list