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">&lt;<a href="mailto:tudor@tudorgirba.com" target="_blank">tudor@tudorgirba.com</a>&gt;</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&#39; Oglio<br>
&lt;<a href="mailto:gaston.dalloglio@gmail.com">gaston.dalloglio@gmail.com</a>&gt; wrote:<br>
&gt; Hi.<br>
&gt;<br>
&gt; Be sure of configure correctly the application &quot;pier&quot;:<br>
&gt;<br>
&gt; 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>
&gt; Server Path: /<br>
&gt; Server Port: 80<br>
&gt; Server Protocol: http<br>
&gt;<br>
&gt; I got stranges lookups when I don&#39;t configure those (but I have more complex<br>
&gt; lookups that you describe here).<br>
&gt;<br>
&gt; HTH<br>
&gt;<br>
&gt; 2012/9/20 Tudor Girba &lt;<a href="mailto:tudor@tudorgirba.com">tudor@tudorgirba.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Tobias,<br>
&gt;&gt;<br>
&gt;&gt; Thanks. But, the problem is not there. /srv/web is empty.<br>
&gt;&gt;<br>
&gt;&gt; Somehow, it seems that there is another lookup before the request goes<br>
&gt;&gt; to the below apache config. And I do not know what this is.<br>
&gt;&gt;<br>
&gt;&gt; I tried to dig a bit more, and I found that the page resides somewhere<br>
&gt;&gt; inside /var/www/vhosts/. The question is how to bypass this lookup?<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Doru<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Sep 20, 2012 at 9:19 AM, Tobias Pape &lt;<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>&gt; wrote:<br>
&gt;&gt; &gt; Am 20.09.2012 um 06:57 schrieb Tudor Girba:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I am forwarding the message here given that the problem is not Pier<br>
&gt;&gt; &gt;&gt; specific.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Any ideas?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Cheers,<br>
&gt;&gt; &gt;&gt; Doru<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &lt;VirtualHost *:80&gt;<br>
&gt;&gt; &gt;&gt;  # set serer name<br>
&gt;&gt; &gt;&gt;  ProxyPreserveHost On<br>
&gt;&gt; &gt;&gt;  ServerName <a href="http://www.example.com" target="_blank">www.example.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;  # connfigure static file serving<br>
&gt;&gt; &gt;&gt;  DocumentRoot /srv/web<br>
&gt;&gt; &gt;&gt;  &lt;Directory /srv/web&gt;<br>
&gt;&gt; &gt;&gt;    Order deny,allow<br>
&gt;&gt; &gt;&gt;    Allow from all<br>
&gt;&gt; &gt;&gt;  &lt;/Directory&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;  # rewrite incoming requests<br>
&gt;&gt; &gt;&gt;  RewriteEngine On<br>
&gt;&gt; &gt;&gt;  RewriteRule ^/pier(.*)$ <a href="http://www.example.com" target="_blank">http://www.example.com</a>$1 [redirect,last]<br>
&gt;&gt; &gt;&gt;  RewriteRule ^/files/(.*)$ <a href="http://localhost:8081/files/$1" target="_blank">http://localhost:8081/files/$1</a> [proxy,last]<br>
&gt;&gt; &gt;&gt;  RewriteCond /srv/web/%{REQUEST_FILENAME} !-f<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This rewrite condition makes sure that any existing file is tried before<br>
&gt;&gt; &gt; Going on to that rule:<br>
&gt;&gt; &gt;&gt;  RewriteRule ^/(.*)$ <a href="http://localhost:8081/pier/$1" target="_blank">http://localhost:8081/pier/$1</a> [proxy,last]<br>
&gt;&gt; &gt;&gt; &lt;/VirtualHost&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Long sotry short, if /srv/web contains an index.html, it will be served,<br>
&gt;&gt; &gt; and your proxy rule won&#39;t be tried.<br>
&gt;&gt; &gt; Try removing the index.html ;)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Best<br>
&gt;&gt; &gt;         -Tobias_______________________________________________<br>
&gt;&gt; &gt; seaside mailing list<br>
&gt;&gt; &gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; &gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
&gt;&gt;<br>
&gt;&gt; &quot;Every thing has its own flow&quot;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
<a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
<br>
&quot;Every thing has its own flow&quot;<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>