URLWatch Setup - urlwatch.conf File
Below is a sample urlwatch.conf file. Throughout the file are various comments
and instructions as to what MUST be modified for your account, as well as OPTIONS
that may be included for your visitors.
# this is the configuration file for the URLWatch program.
# please note that we have included generic terms/names thoroughout this file
# you will need to change items as indicated to reflect your domain and/or
# account name
################################################################
# #
# GENERAL INFORMATION #
# #
################################################################
# server: -- the base url for the server. This assumes that each
# html file supplies "/index.html" as it's URL, rather
# than the fully qualified URL.
# Change "yourdomain.com" to the name of your domain
server: http://www.yourdomain.com
# filedir: -- the base directory for the document files. This also
# assumes that the html file supplied "/index.html" as
# it's URL, and so the two are concatenated directly.
# change "yourdomain" to the name of your domain
filedir: /home/yourdomain/html
# database: -- the name of the MySQL database that holds
# the table of docfile/address and address/passid pairs
# change "yourdomain_com" to something relevant
# to your site
database: yourdomain_com
# table1: -- the name of the MySQL table that holds the
# docfile/address pairs
table1: urlwatch
# table2: -- the name of the MySQL table that holds the
# address/passid pairs
table2: urlmaint
################################################################
# #
# MAIL MESSAGE PROCESSING #
# #
################################################################
# source: -- the email address used as the source of the
# messages sent out as notification of changes
# on the website. If the originating user is
# not trusted by sendmail, this may result in
# X-Authentication-Warning headers being inserted
# into the outbound message.
#
# If this field is missing, no '-f' parameter will
# be passed into sendmail
# change "yourdomain.com" to the name of your domain
source: urlwatch@yourdomain.com
# subject: -- subject of the notification message
# change Your Site Name to something appropriate for your
# site (ie, Abigial's Photo Gallery URLWatch)
subject: Your Site Name's URLWatch
# intro: -- text to be sent to each user getting an update message.
# This text is included in the message before the user's
# email address and newly assigned passid are provided or
# any URLs are listed.
#
# This text is not reformatted but is sent verbatim. It
# can include instructions and other pertinant information.
# This is optional as the mailer generates a default.
# Change "youraccountname" to your user account's name
# (8 char or fewer)
intro: /home/youraccountname/data/urlwatch/mail.intro
# update: -- the url to supply to the user where they can go update their
# entries for this site. This should present a form that has
# 2 fields, "email" and "passid" which are submitted to
# /cgi-sbin/urlmaint.cgi which will authenticate and produce
# a list of monitored pages
update: /urlmaint.html
# closing: -- text to be sent to each user getting an update message.
# This text is included after the email, passid and URL
# list for the day. It can contain instructions, additional
# help information or a simple signature. The contents are
# sent as is. This is optional as the mailer generates a
# default.
# change "youraccountname" to reflect your actual
# account name (8 char or less)
closing: /home/youraccountname/data/urlwatch/mail.closing
################################################################
# #
# SIGNUP OUTPUT FILES #
# #
################################################################
# header: -- the full path to the HTML header to be sent
# on the response pages. This should include
# everything up to and including the
# tag, with any other potential preamble included.
# change "youraccountname" to reflect your actual account name
sheader: /home/youraccountname/data/urlwatch/signup.header
# footer: -- the full path to the HTML footer to be sent
# on the response pages. This should include
# as a minimum the and |