help with simple indexed phone book...

Susan M Coghlan (smc@goshawk.lanl.gov)
Tue, 6 Jul 93 13:40:13 MDT


Hi:
I'm trying to get a simple phone book set up on
our WWW server.

Here's what I have so far:

* CERN's httpd running on a Sun.
* an html file with the <ISINDEX> tag called /phonebook
* a csh script called findit that given a keyword, searches
the address database and creates an html formatted file
called phonebook?<keyword> of the requested data.
(where keyword is the first name or last name of the
person the user wishes the phone number of)

the question:

How do I tell the httpd that when it gets the command
GET /phonebook?<keyword> to run "findit <keyword>"?
Is this something I do in /etc/httpd.conf? If so, can
anyone point me to a discussion of the format of the
rules that you put into /etc/httpd.conf? If not, how
DO you do this? Do I need to modify the source for
httpd? If so, what do I need to change? RTFM is fine -
but please tell me what FM... If this is not the
appropriate list to post to please tell me where it
should have been posted.

All help is appreciated.
Thanks,
Susan Coghlan
smc@goshawk.lanl.gov