[pca] multiple pca-proxy.cgi file
Martin Paul
martin.paul at univie.ac.at
Mon Aug 13 10:09:51 CEST 2012
Am 10.08.2012 22:26, schrieb Aasim Ajaz:
> and updated pca-proxy.cgi to change pca-proxy.conf to pca-proxy-sol10.conf
> and it works ; however when I change the pca-proxy.cgi to
> pca-proxy-sol10.cgi the following shows up
PCA has an internal check, which makes it work as a pca-proxy only when
its filename is "pca-proxy.cgi". You will have to change that in the
code. The original code is:
(basename($0) eq "pca-proxy.cgi") && ($o{proxy}=1);
Change it to e.g.:
(basename($0) =~ /pca-proxy.*cgi/) && ($o{proxy}=1);
hth,
Martin.
More information about the pca
mailing list