Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Apr 16, 2009 7:43 pm 
Offline
Senior Newbie

Joined: Wed Jan 28, 2009 11:24 am
Posts: 11
Website: http://www.limetech.org
Hi,
I just moved my server from Fedora to CentOS and I'm having a rather strange config problem. I use RoundCube Webmail and when I try to login I get redirected back to the login form without any error. I also have SimpleID and have the same issue, so it seems to be a problem with the short URL's (e.g. id.domain.org/?q=), as that's what they use and I don't seem to be having any problems with anything else.

The strange thing is that it only happens on subdomains. If I setup an alias so I login at "http://www.domain.org/mail" it works fine, If I change the config so it's accessible at "http://domain.org/" it also works. But, "http://mail.domain.org/" does not.

Btw, a successful login for RoundCube redirects to "http://mail.domain.org/?_task=mail" and one for SimpleID is "http://id.domain.org/?q="

This setup works fine on another server with an almost identical configuration, so I'm very confused.

Any help would be greatly appreciated.


Top
   
 Post subject: Config setting to check.
PostPosted: Thu Apr 16, 2009 7:56 pm 
Offline
Junior Member
User avatar

Joined: Thu Sep 11, 2008 6:46 pm
Posts: 36
Website: http://www.classhelper.org
Location: Atlanta, GA
Looking through the RoundCube config file (located in config/main.inc.php) I see the following snippet:

Code:
// session domain: .example.org
$rcmail_config['session_domain'] = '';

You many want to try setting it to "mail.yourdomain.com" or ".yourdomain.com" and see what happens. Hope this helps!

_________________
Educational resources for parents and teachers: http://www.ClassHelper.org


Top
   
 Post subject: No Effect
PostPosted: Fri Apr 17, 2009 2:58 am 
Offline
Senior Newbie

Joined: Wed Jan 28, 2009 11:24 am
Posts: 11
Website: http://www.limetech.org
I tried what you suggested and there was no effect.

I'm pretty sure it's an Apache problem , but nothing about this makes sense.

Going to try reinstalling in a while, maybe I messed up somewhere.


Top
   
 Post subject:
PostPosted: Fri Apr 17, 2009 3:37 am 
Offline
Junior Member

Joined: Mon Sep 22, 2008 8:41 am
Posts: 48
Location: London, UK
I do not think you meesed it up.
More likely there is a problem with apache version. Do you remember what apache and php version you had before? did you check php.ini? I have never used RoundCube Webmail, but it is based on php, right?


Top
   
PostPosted: Fri Apr 17, 2009 4:26 am 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
asherkin wrote:
If I setup an alias so I login at "http://www.domain.org/mail" it works fine, If I change the config so it's accessible at "http://domain.org/" it also works. But, "http://mail.domain.org/" does not.


Are you sure you've set up your DNS for that subdomain correctly (mail.limetech.org seems to exist -- but perhaps that's the working version), as well as your virtual host settings on Apache?

The only other point is this bug, since fixed in more recent versions.


Last edited by mjrich on Fri Apr 17, 2009 4:28 pm, edited 1 time in total.

Top
   
PostPosted: Fri Apr 17, 2009 6:13 am 
Offline
Junior Member

Joined: Mon Sep 22, 2008 8:41 am
Posts: 48
Location: London, UK
mjrich wrote:
Are you sure you've set up your DNS correctly for that subdomain correctly


This is exactly my question! Can you check if you the subdomain has propagated?


Top
   
 Post subject:
PostPosted: Fri Apr 17, 2009 9:58 am 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
If you are using mail.limetech.org, then that has propagated an is pointing to 66.246.75.16

Code:
; <<>> DiG 9.3.2 <<>> @localhost mail.limetech.org ANY
 ; (2 servers found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16199
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;mail.limetech.org.      IN   ANY
 
 ;; ANSWER SECTION:
 mail.limetech.org.   86400   IN   A   66.246.75.16
 
 ;; Query time: 104 msec
 ;; SERVER: 127.0.0.1#53(127.0.0.1)
 ;; WHEN: Fri Apr 17 15:59:01 2009
 ;; MSG SIZE  rcvd: 51


Top
   
 Post subject: Oops
PostPosted: Fri Apr 17, 2009 10:22 am 
Offline
Senior Newbie

Joined: Wed Jan 28, 2009 11:24 am
Posts: 11
Website: http://www.limetech.org
Thanks for all the suggestions guys. I feel really stupid now, turns out it was a problem on my computers end, probably an old session cookie or something.

Btw, yes mail.limetech.org is my domain :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group