On Sat, Jan 24, 2004 at 11:07:30AM -0800, Josh Chamas wrote:
If I leave the %config hash empty, will Apache::ASP->Loader use the values of Global and GlobalPackage from httpd.conf? Or do I have to set those manually to the same values that I have in httpd.conf?
You have to set them manually to the same values that you have in httpd.conf.
Hrm, I guess with the way configuration files are parsed, at the time startup.pl is being executed it does not have access to the PerlSetVar configurations?
Even if it did ( of which I am not so sure ), it would not necessarily know which PerlSetVar to merge for which files that would correspond to the same set of ASP files at runtime. One could imagine many different ASP applications with different PerlSetVar settings in the same httpd.conf
Since we are at startup, we don't have access to <Location>, <Directory>, .htaccess configs that would resolve a
I tried that (I assume you meant Debug -1 in httpd.conf, not the Loader() %config?), but I got lost in the sheer volume of output. Is there a string (e.g. "compiling") that I can grep for?
If you find that things are "parsing" at runtime, then they are not precompiled.
So, that means if I use a script via $main::Response->Include(), I should make sure that script is explicitly compiled by the Loader() call?
Right, or change the call to $Response->Include if its being called in a normal script.
Regards,
Josh
________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checker http://www.nodeworks.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]