Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
horde screens are missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vcihon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 107

PostPosted: Mon Apr 26, 2004 10:40 pm    Post subject: horde screens are missing Reply with quote

I have qmail with courier-imap on a server.

I setup Horde/IMP and have authentication working fine. However, there is a weird problem -

When I go to initial page of http://www.alextechstudio.com/horde/ , I get the bottom menu however the top page (I assume it uses frames) is "blank" and states Action cancelled (using IE6 on a Windoze box).

If I hit the mail icon - I get the logon page - however when I logon, it comes back with the same error "Actio cancelled".

What is interesting is that on the bottom status bar, it says "searching for tolkien" until it errors out. My box name is tolkien.alexandertech.com .

This also does not occur locally even using the same url.

Thoughts how to troubleshoot? I assume this is name resolution related but I'm not sure if it is in the config files.
Back to top
View user's profile Send private message
vcihon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 107

PostPosted: Tue Apr 27, 2004 2:52 pm    Post subject: Reply with quote

Bump.

Anyone see anything like this?
Back to top
View user's profile Send private message
rwallace
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 107
Location: Phoenix, AZ US

PostPosted: Tue Apr 27, 2004 5:48 pm    Post subject: Reply with quote

I think the problem is that the main page is trying to load something from the tolkeinsociety.org but cannot resolve the name to an address. For me here at work this is causing my browser to lockup cause DNS server must be setup to never timeout or something stupid like that. :x
Back to top
View user's profile Send private message
vcihon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 107

PostPosted: Tue Apr 27, 2004 6:19 pm    Post subject: Reply with quote

Agreed - but I can't figure out why. I have tolkien.alextechstudio.com as an A record pointing correctly.

With IE, it just says Action cancelled.

With Mozilla, it actually loads the tolkiensociety.org page in that frame! I've searched the code but can't figure it out. . .
Back to top
View user's profile Send private message
rwallace
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 107
Location: Phoenix, AZ US

PostPosted: Tue Apr 27, 2004 6:34 pm    Post subject: Reply with quote

Hmmm... are you set on using this version of horde? Why not try the cvs version? It's got a lot of new features and whatnot. Might be worth looking into. I'm using it on a number of sites and it works well.
Back to top
View user's profile Send private message
vcihon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 107

PostPosted: Tue Apr 27, 2004 7:05 pm    Post subject: Reply with quote

I found the fix here:

http://marc.theaimsgroup.com/?l=horde&m=105519927912963&w=2

A summary is here:

Quote:
The problem is that Horde's login process, when detecting that the user had
not yet authenticated, was redirecting to the login.php page. Fine so far,
but it obtained the server name for the redirection from
$_SERVER["SERVER_NAME"]. That is *usually* fine, but in some cases the
SERVER_NAME, which is the host's canonical hostname, is not the same as the
hostname visible to the user's web browser. In our case, the server sits
behind a firewall that does redirection, so *outside* users see something
like "webmail.example.com" while the host's physical name is
"webmail01.facility.example.com", a name not resolvable on the external DNS
server. The externally-resolved name is in $_SERVER["HTTP_HOST"].

The file that needed to be changed is config/registry.php. Here is the
output of "diff -U 3" on the before and after files:

[webmail01] $ diff -U3 registry.php.before registry.php
--- registry.php.before 2003-06-09 11:02:43.000000000 -0500
+++ registry.php 2003-06-09 11:03:32.000000000 -0500
@@ -87,13 +87,13 @@
'allow_guests' => true,
'status' => 'active',
'templates' => dirname(__FILE__) . '/../templates',
- 'cookie_domain' => $_SERVER['SERVER_NAME'],
+ 'cookie_domain' => $_SERVER['HTTP_HOST'],
// ** If IE will be used to access Horde modules, you should read
// this discussion about the cookie_path setting (discussing issues
// with IE's Content Advisor):
//
http://lists.horde.org/archives/imp/Week-of-Mon-20030113/029149.html
'cookie_path' => '/',
- 'server_name' => $_SERVER['SERVER_NAME'],
+ 'server_name' => $_SERVER['HTTP_HOST'],
'server_port' => $_SERVER['SERVER_PORT']
);


Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum