Roundcube Community Forum

Recycle Bin => Recycle Bin => Topic started by: Adam on August 20, 2006, 09:49:58 AM

Title: using shared ssl certificate and redirecting after log in
Post by: Adam on August 20, 2006, 09:49:58 AM
Hi,

I want to make use of the free shared SSL certificate that my server has. My log in page is situated at mail.domain.com. After people have entered their username/pass I want it to redirect to http://server.xssl.net/domain.com/mail and then carry on as normal but under a secure page.

the mail subdomain is just an alias of the mail folder. I'm not sure where to look and what to change.

Thanks

Ad :D
Title: Re: using shared ssl certificate and redirecting after log in
Post by: brightstar on August 29, 2006, 07:42:01 PM
Hello

Are you wanting to do this:

 - Login via https://mail.domain.com/mail
 - Then redirect to http://mail.domain.com/mail for example

or

 - Login via http://mail.domain.com/mail
 - Then redirect to https://mail.domain.com/mail

or

 - Login via https://mail.domain.com/mail and stay under a secure connection

If its the first two i dont know but will look into it, if it is the 3rd then all you do is goto that secure link and as far as i can see everything works under secured.
Title: Re: using shared ssl certificate and redirecting after log in
Post by: flash on August 30, 2006, 03:11:03 PM
sessions are unique to the domain. so you cannot change the domain in the middle of a session. hence, you cannot login using your domain name and then redirect to your host's shared server ssl (which is usually by host server name) and expect to keep the session alive.
Title: Re: using shared ssl certificate and redirecting after log in
Post by: Adam on September 21, 2006, 02:37:45 AM
ok! So I just need to setup a redirect in the .htaccess to redirect the logon page to the SSL route.

Thanks

Ad