[horde] Unusual Horde / IMP login behaviour...
Adam Thwaites
adam at 2-8s.net
Sat Jul 10 10:47:07 PDT 2004
Woohooo!!! Just found out what the problem was!!! I'm using DynDNS to
redirect my IP address (for example "myserver.dyndns.org"). The problem
was related to another problem of mine where Apache needs the trailing
slash for addresses. To fix this, I needed to set the ServerName
Directive to "myserver.dyndns.org", or "hostname" (not their real names,
btw) instead of its default automatic setting (where it tries to
determine the domain automatically). The problem is that with DynDNS,
you can't access your DynDNS domain name from the computer that it
points to... for example: If I map my local computer's IP address to
myserver.dyndns.org, I can't access myserver.dyndns.org from my local
computer, otherwise it says "host not found" (or whatever). To view the
site from my home computer, I need to access it via its IP address or by
using "hostname" or "localhost". However, Apache still tries to look up
"myserver.dyndns.org" when it tries to automatically determine the IP
address (by doing an nslookup over the net, I guess, which does return a
value for DynDNS names when performed from the local computer, since it
accesses the online nameserver rather than performing a loopback query).
To sum up: To fix this, add or change the ServerName directive in your
httpd.conf so that it reads "hostname" if you want to access it on a
local ethernet ("localhost", will only work from the computer running
your webserver). If you want to access it over the net, add or change
the ServerName directive to "myserver.dyndns.org" ... it won't work from
your local computer or local ethernet, but you can rest assured that it
will work over the net.
Thanks to everyone who helped out!
- Adam
D. Adam Karim wrote:
>The only other thing I could recomend is possibly deleting the horde install and
>trying again fresh, including the databases. I might also try seeing if giving
>apache ownership of the horde/imp install helps, of course less the config
>files;) I've found that horde/imp is kind of a problem to initially set up.
>Which distro are you using? I'm using Tustix which, unlike Slackware, made the
>install very simple. Keep me informed if you get an answer, I'm very interested
>and will be trying to recreate your problem.
>
>Quoting Adam Thwaites <adam at 2-8s.net>:
>
>
>
>>Unfortunately that wasn't the case... I'm still having trouble. The
>>permissions and ownership of the config files are fine, both for the
>>/horde/ and /horde/imp/ directories (i even did a chmod 777 temporarily,
>>just to be 100% sure). Normally I have the files set to chmod 640 &
>>chown root.www ("www" is the group my apache server runs as).
>>
>>Thanks again though, I appreciate the help! =)
>>
>>- Adam
>>
>>
>>D. Adam Karim wrote:
>>
>>
>>
>>>I once had that same problem. What the problem was is that I forgot to
>>>
>>>
>>change
>>
>>
>>>the permissions and owner of the config files in the imp direcotory. Hope
>>>
>>>
>>that
>>
>>
>>>helps;)
>>>
>>>Quoting Adam Thwaites <adam at 2-8s.net>:
>>>
>>>
>>>
>>>
>>>
>>>>Please help!
>>>>
>>>>I've just installed Horde 2.2.5 and IMP 3.2.4 and I'm getting really
>>>>weird behaviour from the Horde / IMP login. I feel as though I've tried
>>>>everything and solved nothing.
>>>>
>>>>Everything appears to be set correctly: test.php shows all of the
>>>>necessary components installed (for both Horde and IMP), and my IMAP
>>>>server is configured correctly. I've also allocated the login process to
>>>>IMP by changing the /horde/config/registry.php file.
>>>>
>>>>However, when I enter my details and try to login via
>>>>http://hostname/horde/imp/ , my browser (Firefox) returns a messagebox
>>>>stating that "hostname could not be found. Please check the name and try
>>>>again".
>>>>
>>>>Now, when I access http://hostname/horde/ , I get the menu bar on the
>>>>bottom (as usual), but the main frame is blank (empty). To log in, I
>>>>need to click on "Mail" in the menu bar, enter my login details in the
>>>>IMP login screen that comes up, wait for the login screen to refresh on
>>>>itself (I don't think redirect.php is doing its job properly here), then
>>>>click on "Horde" in the menu bar to access the main Horde screen. Then,
>>>>to check my email I need to click on "INBOX", as clicking on the "Mail"
>>>>link does nothing except reload the current page. Finally, to logout, I
>>>>need to click on the logout link under my "INBOX".
>>>>
>>>>i.e:
>>>>
>>>>To login, "Mail" links to:
>>>>http://hostname/horde/imp/?Horde=xxxxxxxxxxxxxxxxxxxxxxx
>>>>To access the main Horde screen, "Horde" links to:
>>>>http://hostname/horde/login.php?Horde=xxxxxxxxxxxxxxxxxxxxxxx
>>>>To access my mail, "INBOX" links to:
>>>>
>>>>
>>>>
>>>>
>>>>
>>http://hostname/horde/imp/mailbox.php?Horde=xxxxxxxxxxxxxxxxxxxxxxx&newmail_popup=no&mailbox=INBOX
>>
>>
>>>
>>>
>>>>To logout properly, "Logout" links to:
>>>>
>>>>
>>>>
>>>>
>>>>
>>http://hostname/horde/imp/login.php?Horde=xxxxxxxxxxxxxxxxxxxxxxx&reason=logout
>>
>>
>>>
>>>
>>>>("xxxxxxxxxxxxxxxxxxxxxxx" relates to the PHP session)
>>>>
>>>>This login process is driving me round the bend ... any help in fixing
>>>>this would be greatly appreciated!
>>>>
>>>>- Adam
>>>>
>>>>P.S. I hope I made sense there, I tried to explain the situation as
>>>>specifically as possible.
>>>>--
>>>>Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>>>>Frequently Asked Questions: http://horde.org/faq/
>>>>To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>--
>>>D. Adam Karim
>>>
>>>----------------------------------------------------------------
>>>What is the difference between root and God?
>>> God is more forgiving!
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>--
>D. Adam Karim
>
>----------------------------------------------------------------
>What is the difference between root and God?
> God is more forgiving!
>
>
>
More information about the horde
mailing list