System requirements
-------------------

	phpannodex-cgi has been tested specifically for the following versions
	of PHP and Apache, but should work with any PHP 5 and Apache 2.

	* PHP 5.0.5
	* Apache 2.0.55
	* phpannodex 0.4

What does it do?
----------------

phpannodex-cgi provides full support for Annodex.net media. For more details
about the annodex format, see http://www.annodex.net/

phpannodex-cgi is a handler for type application/x-annodex. It provides the
following features:

	* dynamic generation of Annodex media from CMML files.

	* handling of timed query offsets, such as

	  http://media.example.com/annodex/fish.anx?t=npt:01:20.8
	
	* dynamic retrieval of CMML summaries, if the Accept: header
	  prefers type text/x-cmml over application/x-annodex.


Installing and Configuration
----------------------
	
	For the cgi to work correctly, Apache must know to use it to respond
	to requests from ".anx" files.

	*  Copy "phpannodex-cgi.conf" into Apache's "conf.d" directory, 
	   probably "/etc/apache2/conf.d/".
	*  Copy "nph-phpannodex-cgi.php" into your cgi-bin directory.
	*  Restart Apache

	Requests for ".anx" files should now be answered by the cgi.

