[pca] pca-proxy.cgi and config files
Martin Paul
martin at par.univie.ac.at
Fri Oct 17 12:58:39 CEST 2008
Rajiv Gunja wrote:
> Martin,I assume that client servers will still use pca.conf file and will
> search for it in this order a.) ./ current directory b.) /etc/ and c.)
> /usr/local/
pca itself will continue to read pca.conf, it's only pca-proxy.cgi which
is affected. I might have confused you with the server/client terms I
used - forget about that. If pca is run, it reads (in this order):
dirname($0)/pca.conf
dirname($0)/../etc/pca.conf
/etc/pca.conf
$HOME/.pca
./pca.conf
When pca-proxy.cgi runs, it reads (in this order):
dirname($0)/../etc/pca-proxy.conf
/etc/pca-proxy.conf
./pca-proxy.conf
where "dirname($0)" is the directory where pca is installed. Settings in
a later configuration file override settings in previously reads
configuration files.
Martin.
More information about the pca
mailing list