[Speedycgi-users] SpeedyCGI and Perl 5.8.4
Brought to you by:
samh
|
From: Chung-Kie T. <tu...@tu...> - 2004-06-03 02:17:16
|
Hi Sam, The perl 5.8.4 has done some stirct checking in executing a script which is not compatible speedycgi. 1. it insists that the interpreter name after #! should contain the string 'perl', or it returns error "Not a perl script". So user have to rename the frontend to something like 'speedy_perl' or 'speedy_suidperl' instead of speedy (The name pperl is better than speedycgi from this poing of view :) 2. it insists that the argument passed to perl interpreter should be the same as those listed in the #! line, or it returns error "Args must match #! line...". So user has to remove arguments for speedy from #!line to make script work. I was wondering if there is any work around for this? Or could we have a configuration file for speedycgi to store the argrments? /usr/local/etc/speedy.conf ----------------------------------------------- <default> default arguments for speedy for all speedy scripts </default> <path_of_script_a> default arguments for script a </path_of_script_a> ------------------------------------------------ Regards. tung -- Distributed System Laboratory (http://dslab.ee.ncku.edu.tw) Department of Electrical Engineering National Cheng Kung University, Tainan, Taiwan, R.O.C. |