[dev] jonah update error

Jan Schneider jan@horde.org
Fri, 16 Nov 2001 15:47:35 +0100


Zitat von "Scott A. Sibert" <ehorde@hollins.edu>:

> I'm trying to run "php ./cli-backend.php" and it comes back with a huge
> 
> HTML dump, the top of which has an error 401 Unauthorized.
> 
> I'm sure it is just a configuration error somewhere but I'm not sure 
> where to look.  In jonah/config/conf.php under [admin][ips] I've put 
> ('127.0.0.1','the.mach.ip.addr') and it still gives me the error.  I'd 
> rather run the cli-backend.php rather than update.sh because lynx (or 
> something) seems to timeout if the update takes more than five minutes.
> 
>  I figured directly running the script would avoid that problem.
> 
> I have authpw = yes, a username, password and authip = yes.  This is 
> with around 2pm yesterday's updates from CVS for everything.  I haven't
> 
> been able to run the cli-backend.php ever, so I don't think this is a 
> code version problem.

This can't work. If you enable authentication by username/password and/or 
ip you must use a browser to call cli-backend.php. Where else shoud it get 
the necessary header informations from?
If you disable authentication it may work.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::