I couldn't find how to specify that (F)CGI should
use a configuration file different from
the spyceconf.py shipped with Spyce.
The attached patch (against branches/spyce-2.1, r1201) makes Spyce to get the name of the configuration file from the SPYCE_CONFIG environment variable. This is rather easy to set at least in Apache, both for CGI and FCGI.
In addition to this, the attached patch contains:
* spyceApache.conf: show how to set SPYCE_CONFIG
* spyceconf.py: set cgi_allow_only_redirect = True by default, for security. Specifying SPYCE_CONFIG, this feature can now be disabled on per-project basis, if using the #! CGI deployment mode.
* www/docs/doc.spy: update CGI configuration documentation. Was the /usr/bin/spyce symlink used for something?