Hi marco:<br><br>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.<br>The ramon server configuration is ok. If you copied this configuration, the problem must be an other stuff.<br>
<br>If you can, Please send me you apache configuration, I'll take a look and the I'm been sending some advice.<br><br>Please, don't send that file to the list...I hate when some one do this,<br><br>Regard.<br>
<br><div class="gmail_quote">On Thu, Feb 21, 2008 at 7:23 AM, Marco D'Ambros <<a href="mailto:marco.dambros@lu.unisi.ch">marco.dambros@lu.unisi.ch</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Feb 21, 2008, at 1:30 AM, Ramon Leon wrote:<br>
<br>
>> Hi all!<br>
>><br>
>> The question is: how do I do the same with seaside?<br>
>> If I use the rewrite module of apache, with this configuration:<br>
>><br>
>> <VirtualHost *:80><br>
>> ServerName <a href="http://www.example.org" target="_blank">www.example.org</a><br>
>> RewriteEngine On<br>
>> RewriteRule ^/(.*)$<br>
>> <a href="http://localhost:8008/seaside/go/example/$1" target="_blank">http://localhost:8008/seaside/go/example/$1</a> [P,L] </VirtualHost><br>
>><br>
>> I will be redirected to the correct seaside web site, but in<br>
>> the browser I will see the url <a href="http://machine.my.org:8008/seaside/go/" target="_blank">machine.my.org:8008/seaside/go/</a><br>
>> example/<br>
>><br>
>> Many thanks and cheers<br>
>> Marco D'Ambros<br>
><br>
> Here's a working config, should be easily adaptable.<br>
><br>
> <VirtualHost *:80><br>
> ServerName linuxweb1<br>
> DocumentRoot /var/www<br>
> RewriteEngine On<br>
> ProxyRequests Off<br>
> ProxyPreserveHost On<br>
> UseCanonicalName Off<br>
><br>
> # http compression<br>
> DeflateCompressionLevel 5<br>
> SetOutputFilter DEFLATE<br>
> AddOutputFilterByType DEFLATE text/html text/plain text/xml<br>
> application/xml application/xhtml+xml text/javascript text/css<br>
> BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
> BrowserMatch ^Mozilla/4.0[678] no-gzip<br>
> BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
><br>
> #proxy to seaside if file not found<br>
> RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f<br>
> RewriteRule ^/(.*)$ <a href="http://localhost:8080/$1" target="_blank">http://localhost:8080/$1</a> [P,L]<br>
> </VirtualHost><br>
><br>
> Ramon Leon<br>
> <a href="http://onsmalltalk.com" target="_blank">http://onsmalltalk.com</a><br>
<br>
<br>
</div></div>Thank you very much for your answer. Unfortunately I get a 403<br>
(Forbidden error) on the browser, and this is the apache log line:<br>
<br>
client denied by server configuration: proxy:<a href="http://localhost:8018/seaside/go/Churrasco/favicon.ico" target="_blank">http://localhost:8018/seaside/go/Churrasco/favicon.ico</a><br>
, referer: <a href="http://churrasco.inf.unisi.ch/" target="_blank">http://churrasco.inf.unisi.ch/</a><br>
<br>
Any idea?<br>
<br>
thanks again<br>
Cheers<br>
<font color="#888888">Marco<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>