mattytravisza / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

No logout option in url #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using apache and modrewrite
2. try to catch a logout in the url or a way to redirect to a web page as soon 
as the shellinabox sessions is ended
3.

Hi,
I try to have shellinabox behind a web proxy like apache. I would like to catch 
the 'end sessions' so the page is redirected somewhere when the ssh sessions is 
either finished (like a CTRL+X if it could be implemented) or closed because of 
a timeout. Right now, for what I see I can't catch the end of the session in 
the url because there is no logout process (like 
https://localhost:4300/logout.htm for ex). So I can't have a rewriterule to 
redirect.

So I have 2 suggestions/question:
- Could a CTRL+X combination key could be implemented as well as a logout 
option that could add the 'logout' text to the end oh the url of the 
shellinaboxbox session?
- Could the session timeout can be configured in a way that it could logout 
completly (blank page for ex)

Thanks

Original issue reported on code.google.com by romain.p...@gmail.com on 16 Apr 2011 at 12:28