chris, all,

On 3 Apr 2003, Chris Davies wrote:

> are you referring to the server by a name rather than the IP address?

no, only by IP address right now (don't have name service set up yet).

the url i'm entering is literally

http://129.121.3.33/asgard

> 
> try turning mysql logging on and tail the mysql.log file to see what it
> is trying in the statement that is similar to this:
> 
> 55 Query       SELECT id,style,root,info&1,Length(prefix),sitegroup FROM
> host WHERE name='mcdlp.pbi.daviesinc.com' AND port IN (0,81) AND
> prefix=Left('/firewall/linkadd/',Length(prefix)) AND
> IF(18>=Length(prefix),MID('/firewall/linkadd/',1+Length(prefix),1) IN
> ('','/'),0)=1 AND online=1 ORDER BY prefix DESC, port DESC
> 
> I would bet that the name it is looking up is not matching what is in
> your host config.  If you have IPs in there, you must access the site by
> IP.

i think you've got it!  how odd that i should access it by IP address but 
the lookup is by name:

                      1 Query       SELECT 
id,style,root,info&1,Length(prefix),s
itegroup FROM host WHERE name='docforge.org' AND port IN (0,80) AND 
prefix=Left(
'/asgard',Length(prefix)) AND 
IF(7>=Length(prefix),MID('/asgard',1+Length(prefix
),1) IN ('','/'),0)=1 AND online=1 ORDER BY prefix DESC, port DESC


i'm going to try doing:

update host set name='docforge.org',port=80;

and, indeed, now it asks me for a username and password.  presumably 
that's something i've forgotten elsewhere in the install

thanks so much for helping me troubleshoot this.

t.

-- 

todd underwood, sr. vp & cto
oso grande technologies, inc.
[EMAIL PROTECTED]

"The people never give up their liberties but under some delusion."
            --Edmund Burke, Speech at County Meeting of Bucks, 1784. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to