From: Joe C. <jo...@sw...> - 2002-10-09 22:18:33
|
Good to hear you got it figured out. I ran out of ideas about two seconds after you said "php". ;-) Does this change break standard Webmin modules? Sandro Dentella wrote: > After some hours studying env variables set by apache and miniserv, I > understood it: miniserv.pl does not set SCRIPT_FILENAME to the complete name > of the cgi script. It it sufficent to add: > > $ENV{"SCRIPT_FILENAME"} = $full; > > somewhere aroung line 1300 depending on your webmin release, where all > environment variables are defined and php will work correctly..., > that is to say, it does not issue any "#!/usr/bin/php4" to the browser and > phpinfo() works. > > Now we can have a look at web-lib.pl! Should someone know of a module > developed with this library, please let me know. > > sandro > *:-) > > > -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |