Strange Apache VHost Problem
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 "
Btw, a successful login for RoundCube redirects to "
This setup works fine on another server with an almost identical configuration, so I'm very confused.
Any help would be greatly appreciated.
// 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!
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.
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?
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 @mjrich:
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?
; <<>> 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 184.108.40.206 ;; 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