<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Julian,<div><br></div><div>can you tell us the configuration of the ESUG server? I mean the setting for server path, hostname and such. Then I can have an eye on this issue, too.&nbsp;</div><div><br></div><div>Norbert</div><div><br><div><div>On 09.05.2010, at 16:21, Julian Fitzell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">This sounds very familiar... I assume you've tried searching the archives? Unfortunately I don'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'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'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'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>
 &nbsp; &nbsp; &nbsp; &nbsp;self serverPath isNil ifFalse: [<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^ aRequest url copyFrom: (self basePath size + 1) to: aRequest url size].<br>
 &nbsp; &nbsp; &nbsp; &nbsp;^ aRequest url<br>
<br>
will help.<br>
<br>
On the other hand it could be that I'm doing something wrong. If not a lot of people should discovered this already :) I'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>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><br></div></body></html>