session expiration redirect

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

session expiration redirect

Chris Dawson
I'm running Seaside through a rewrite proxy on Apache.  Everything works great if I go into the configuration editor and change server hostname and server path to be the correct real server information.  However, I'm noticing that when the session expires, Seaside sends a redirect to localhost which of course my web client cannot reach.  To be specific:

I am using:

http://foobar.com/subdir/myapp

I have an apache rewrite rule like this:

RewriteRule     (.*) http://localhost:4000/seaside/$1 [P]

Seaside/squeak is running on port 4000 obviously.

I'm using foobar.com for server hostname, and /subdir/myapp for server path.

Any suggestions?

I don't have resource base url set; is this supposed to be set as well?  Everything works perfectly outside of this one issue without that config var set.

Chris

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: session expiration redirect

Randal L. Schwartz
>>>>> "Chris" == Chris Dawson <[hidden email]> writes:

Chris> RewriteRule     (.*) http://localhost:4000/seaside/$1 [P]

You need a ProxyPassReverse to do this right, or...

Chris> I don't have resource base url set; is this supposed to be set as well?
Chris> Everything works perfectly outside of this one issue without that config var
Chris> set.

Do that.

My best guess, anyway.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside