[jonah] Jonah wouldn't retrieve headlines :(
Alex Kamalov
alexk@icnt.net
Thu, 27 Dec 2001 16:05:31 -0500
I don't know... call me plain stupid, but I cannot get it to work even with
user/auth set. Here is my conf.php file:
<?php
/*
* Jonah Configuration File
*
* This file contains global configuration settings for Jonah. Values
* may be safely edited by hand. Use conf.php.dist as a reference.
*
* Strings should be enclosed in 'quotes'.
* Integers should be given literally (without quotes).
* Boolean values may be true or false (no quotes).
*
* $Horde: jonah/config/conf.php.dist,v 1.14 2001/12/25 16:13:42 chuck Exp $
*/
/**
** Data
**/
// Where should we store Jonah's data files (raw channels and generated
// HTML)?
$conf['paths']['data'] = '/var/jonah';
/**
** CLI Settings
**/
// What username (this needs to be a Horde administrator) should the
// cli-backend.php use?
$conf['cli']['user'] = 'horde';
/**
** HTTP Auth settings
**/
// If these settings are present, backend.php will use them instead of
// Horde administration. If they are not present, a Horde admin must
// be logged in to use backend.php.
$conf['auth']['http']['username'] = 'horde';
// Note: No access will be allowed with an empty password.
$conf['auth']['http']['password'] = 'test123';
// This array must contain any IP addresses to be accessible via HTTP auth.
$conf['auth']['http']['ips'] = array('127.0.0.1');
?>
and here is my cli-backend.sh script:
#!/bin/sh
# $Horde: jonah/scripts/cli-backend.sh,v 1.3 2001/12/25 16:13:43 chuck Exp $
## Set username, password, and the URL of your Jonah installation.
USERNAME="horde"
PASSWORD="test123"
URL=http://www.mysite.com/horde/jonah/scripts/cli-backend.sh
## Choose lynx or wget:
# lynx -dump -auth=$USERNAME:$PASSWORD $URL > /dev/null
wget --quiet -O - --bind-address
127.0.0.1 --http-user=$USERNAME --http-passwd=$PASSWORD $URL > /dev/null
It just not updating. Account 'horde' is in admin list at horde's
config.php, and I tested it and it works fine. So far I've setup up imp,
nag, kronolith, turba. Jonah is the only thing that totally stopped me. I
don't know what to do :(
Thanks guys!!
Alex