This sounds very familiar... I assume you&#39;ve tried searching the archives? Unfortunately I don&#39;t actually recall the resolution off the top of my head. I wonder if this is related to the issue on the ESUG website, but it seems to revert to localhost:8080 when the session expires so it&#39;s even worse (but maybe a sign that the problem is bigger?).<br>

<br>Julian<br><br><div class="gmail_quote">On Sun, May 9, 2010 at 11:30 AM, Norbert Hartl <span dir="ltr">&lt;<a href="mailto:norbert@hartl.name">norbert@hartl.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I&#39;m about to chase down an annyoing artifact. I have quite a usual deployment where the server path in the application configuration ist set to / and seaside is deployed behind an apache. Well, I&#39;m using seaside 2.8 if this is important to know.<br>


<br>
The problem is that whenever a session expires the redirect url contains the base path of the application. I mean the application is registered at<br>
<br>
/seaside/myapp<br>
<br>
When the redirect occurs I get the url<br>
<br>
<a href="http://myhost/seaside/myapp/additional/path" target="_blank">http://myhost/seaside/myapp/additional/path</a><br>
<br>
instead of<br>
<br>
<a href="http://myhost/additional/path" target="_blank">http://myhost/additional/path</a><br>
<br>
I think I found the cause. In<br>
<br>
WAApplication&gt;&gt;handleExpiredRequest:<br>
<br>
there is<br>
<br>
url := self baseUrl path: OrderedCollection new.<br>
url addToPath: (self expiryPathFor: aRequest).<br>
<br>
baseUrl calls basePath and that checks the existance of a set serverPath. The second call to expiryPath does not. So I get a path / from the call to baseUrl but then the /seaside/myapp is copied onto while addToPath: with the full path is executed. I think a<br>


<br>
WARegistry&gt;&gt;expiryPathFor: aRequest<br>
        self serverPath isNil ifFalse: [<br>
                ^ aRequest url copyFrom: (self basePath size + 1) to: aRequest url size].<br>
        ^ aRequest url<br>
<br>
will help.<br>
<br>
On the other hand it could be that I&#39;m doing something wrong. If not a lot of people should discovered this already :) I&#39;m trying to find the right place where to fix the issue. Thanks for any hints<br>
<br>
Norbert_______________________________________________<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>
</blockquote></div><br>