The usenet-web.rc file has two major sections - the global options that define the default behavior of the software, and the group specific options that allow you to tweek an individual group.
If you are operating without file compression by fooling the program, 'cat' will work.
URLPATH gives the URL that the fetch program is using. For example, if you install fetch to the master cgi-bin directory on your system, then URLPATH should be set to '/cgi-bin/fetch'. You can rename the program anything you like and it will still work - you just have to make sure that URLPATH points to it.
This also provides a mechanism for passing extra CGI variables, such as those used by 'cgiwrap'. Just add the extra variables to the URLPATH as if you were passing them from a browser. So if you wanted to add 'user=snowhare&script=fetch' it would read: URLPATH=/cgi-bin/fetch?user=snowhare&script=fetch
What could be easier?
This file can frequently be found in one of these places: /usr/lib/news/active, /usr/spool/news/active, or /usr/local/lib/inn/active
If you cannot find it on your system - try asking your system adminstrator. They will certainly know where it is.
IMPORTANT: This directory must be readable and writable by the 'fetch' CGI script. If running the script under user 'nobody', this means that the cache directory must be world readable and writable (privs 0777), unless it is owned by 'nobody'.
If you are running Usenet-Web under 'cgiwrap', the cache directory only needs to be readable and writable by you (privs 0700).
Turning this off (USE_ACTIVE_FILE=off) results in every message in the news spool directory for ths group being processed every time the archiver runs. This creates a major speed penalty unless you also use REMOVE_ORIGINAL=yes to remove the old messages.
# Globals
UNCOMPRESS=/usr/bin/zcat
COMPRESS=/usr/bin/gzip
URLPATH=/cgi-bin/fetch
ICONPATH=/icons/
SYSTEMIDENT=/home/users/snowhare/usenet-web/system-ident
CACHE=/home/users/snowhare/usenet-web/cache
CACHE_EXPIRY=3600
ACTIVE_FILE=/usr/lib/news/active
NEWS_SPOOL=/usr/spool/news
ARCHIVE_DIRECTORY=/home/users/snowhare/usenet-web/archive
TRIPLE_HEADER_INDEX_FILE=Archive_Index
MESSAGE_ID_INDEX_FILE=Id-Index
# -------------------------------------------------------------------
#Group Specific
NEWSGROUP=alt.devilbunnies
DESCRIPTION=Probably better left undescribed
HIGH_MESSAGE=0
MESSAGE_COUNT=0
# -------------------------------------------------------------------
NEWSGROUP=soc.culture.vietnamese
DESCRIPTION=Issues and discussions of Vietnamese culture.
HIGH_MESSAGE=0
MESSAGE_COUNT=0
# -------------------------------------------------------------------
Benjamin "Snowhare" Franz / snowhare@netimages.com |
![]() |