Well, probably this no solve your problem, but when of the lookup problems are, better putting explicit all info that serve to generate urls.<br><br><div class="gmail_quote">2012/9/20 Tudor Girba <span dir="ltr"><<a href="mailto:tudor@tudorgirba.com" target="_blank">tudor@tudorgirba.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. Indeed, these parameters are not yet set.<br>
<br>
I will give this a try, although I fail to see at this time how this<br>
will solve the problem.<br>
<br>
Cheers,<br>
Doru<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Thu, Sep 20, 2012 at 2:06 PM, Gastón Dall' Oglio<br>
<<a href="mailto:gaston.dalloglio@gmail.com">gaston.dalloglio@gmail.com</a>> wrote:<br>
> Hi.<br>
><br>
> Be sure of configure correctly the application "pier":<br>
><br>
> Server Hostname: <a href="http://example.com" target="_blank">example.com</a> or <a href="http://www.example.com" target="_blank">www.example.com</a><br>
> Server Path: /<br>
> Server Port: 80<br>
> Server Protocol: http<br>
><br>
> I got stranges lookups when I don't configure those (but I have more complex<br>
> lookups that you describe here).<br>
><br>
> HTH<br>
><br>
> 2012/9/20 Tudor Girba <<a href="mailto:tudor@tudorgirba.com">tudor@tudorgirba.com</a>><br>
>><br>
>> Hi Tobias,<br>
>><br>
>> Thanks. But, the problem is not there. /srv/web is empty.<br>
>><br>
>> Somehow, it seems that there is another lookup before the request goes<br>
>> to the below apache config. And I do not know what this is.<br>
>><br>
>> I tried to dig a bit more, and I found that the page resides somewhere<br>
>> inside /var/www/vhosts/. The question is how to bypass this lookup?<br>
>><br>
>> Cheers,<br>
>> Doru<br>
>><br>
>><br>
>> On Thu, Sep 20, 2012 at 9:19 AM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>> wrote:<br>
>> > Am 20.09.2012 um 06:57 schrieb Tudor Girba:<br>
>> ><br>
>> >> Hi,<br>
>> >><br>
>> >> I am forwarding the message here given that the problem is not Pier<br>
>> >> specific.<br>
>> >><br>
>> >> Any ideas?<br>
>> >><br>
>> >> Cheers,<br>
>> >> Doru<br>
>> ><br>
>> ><br>
>> >> <VirtualHost *:80><br>
>> >> # set serer name<br>
>> >> ProxyPreserveHost On<br>
>> >> ServerName <a href="http://www.example.com" target="_blank">www.example.com</a><br>
>> >><br>
>> >> # connfigure static file serving<br>
>> >> DocumentRoot /srv/web<br>
>> >> <Directory /srv/web><br>
>> >> Order deny,allow<br>
>> >> Allow from all<br>
>> >> </Directory><br>
>> >><br>
>> >> # rewrite incoming requests<br>
>> >> RewriteEngine On<br>
>> >> RewriteRule ^/pier(.*)$ <a href="http://www.example.com" target="_blank">http://www.example.com</a>$1 [redirect,last]<br>
>> >> RewriteRule ^/files/(.*)$ <a href="http://localhost:8081/files/$1" target="_blank">http://localhost:8081/files/$1</a> [proxy,last]<br>
>> >> RewriteCond /srv/web/%{REQUEST_FILENAME} !-f<br>
>> ><br>
>> > This rewrite condition makes sure that any existing file is tried before<br>
>> > Going on to that rule:<br>
>> >> RewriteRule ^/(.*)$ <a href="http://localhost:8081/pier/$1" target="_blank">http://localhost:8081/pier/$1</a> [proxy,last]<br>
>> >> </VirtualHost><br>
>> ><br>
>> > Long sotry short, if /srv/web contains an index.html, it will be served,<br>
>> > and your proxy rule won't be tried.<br>
>> > Try removing the index.html ;)<br>
>> ><br>
>> > Best<br>
>> > -Tobias_______________________________________________<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>
>><br>
>><br>
>><br>
>> --<br>
>> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
>><br>
>> "Every thing has its own flow"<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>
><br>
><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>
><br>
<br>
<br>
<br>
--<br>
<a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
<br>
"Every thing has its own flow"<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>