Precompiling scripts with Apache::ASP->Loader

2005-02-12 Thread orlorenz2001
Hi, I have a problem with using the script precompilation feature using Apache::ASP->Loader(). Any help would be greatly appreciated. I run a set of Apache::ASP applications in an Apache2/mod_perl2 environemnt, Perl version is 5.8.5, Apache::ASP version is 2.57. When Apache is started,

Re: %config in Apache::ASP->Loader

2004-01-27 Thread Josh Chamas
Philip Mak wrote: BTW, http://www.apache-asp.org/tuning.html#Precompile says "The %config args, are the config options that you want set that affect compilation. These options include Debug, Global, GlobalPackage, DynamicIncludes, StatINC, StatINCMatch, XMLSubsMatch, and XMLSubsStrict." I think tha

Re: %config in Apache::ASP->Loader

2004-01-24 Thread Philip Mak
On Sat, Jan 24, 2004 at 02:28:04PM -0800, Josh Chamas wrote: > >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 > ne

Re: %config in Apache::ASP->Loader

2004-01-24 Thread Josh Chamas
Philip Mak wrote: 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

Re: %config in Apache::ASP->Loader

2004-01-24 Thread Philip Mak
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? >

Re: %config in Apache::ASP->Loader

2004-01-24 Thread Josh Chamas
::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. To confirm whether the Loader() config really worked, set Debug

%config in Apache::ASP->Loader

2004-01-23 Thread Philip Mak
>From tuning.html: > The %config args, are the config options that you want set that > affect compilation. These options include Debug, Global, > GlobalPackage, DynamicIncludes, StatINC, StatINCMatch, XMLSubsMatch, > and XMLSubsStrict. If I leave the %config hash empty, will Apac

Re: Apache::ASP->Loader() lost functionality ?

2003-02-24 Thread Josh Chamas
Thanos Chatziathanassiou wrote: Somewhere in between version upgrades of Apache::ASP, I seem to have to have missed some of the functionality of the loader. It seems that the following code - Apache::ASP->Loader( '/opt/apache/htdocs',"(asp)\$"

Apache::ASP->Loader() lost functionality ?

2003-02-24 Thread Thanos Chatziathanassiou
Somewhere in between version upgrades of Apache::ASP, I seem to have to have missed some of the functionality of the loader. It seems that the following code - Apache::ASP->Loader( '/opt/apache/htdocs',"(asp)\$", Globa

Re: Apache::ASP->Loader and precompiling

2002-10-23 Thread Josh Chamas
Tim Moore wrote: Just tested with some debug output and it works. Cheers. I thought it hadn't at first until I realised I was looking a the wrong log file. :) Its always good when it works. One further question. Currently the scripts include some .pm files by doing a 'use' statement. Would t

RE: Apache::ASP->Loader and precompiling

2002-10-23 Thread Tim Moore
> -Original Message- [] > > > Just one thing though. If I 'close STDERR' is this going > to stop any further > > Apache messages going to the error log, or does this only > last for the > > context and doesn't affect the Apache > process's STDERR? > > I believe that if you close ST

Re: Apache::ASP->Loader and precompiling

2002-10-22 Thread Josh Chamas
I assume we don't want to run with -3 in production though? Or is this just for the preloading so won't affect run-time performance (so long as my normal setting of Debug is not between -3 and -1)? I meant to run Debug -3 in development for your PerlSetVar apache config just to make sure the Loa

RE: Apache::ASP->Loader and precompiling

2002-10-22 Thread Tim Moore
> -Original Message- [] > > > > Not really, make sure Debug => 0 of course, and you can try to > > redirect STDERR output like so: > > > >open(STDERR, '>>/dev/null'); > >... loader ... > >close STDERR; > > > > Excellent. That does what I need. It's really just so that we >

RE: Apache::ASP->Loader and precompiling

2002-10-22 Thread Tim Moore
> -Original Message- [] > > > > However, is there a way of turning off all the compilation > messages when I > > start Apache? I need the output to be as minimal and user (customer) > > friendly as possible. Preferably no output at all, other > than the normal > > Apache messages (if any

Re: Apache::ASP->Loader and precompiling

2002-10-22 Thread Josh Chamas
Tim Moore wrote: Hi, I've just had a go at precompiling my scripts and got it working following the instructions at http://www.apache-asp.org/tuning.html. One more thing, make sure to run your application in Debug -3 setting after preload to make sure that you really preloaded correctly, and th

Re: Apache::ASP->Loader and precompiling

2002-10-22 Thread Josh Chamas
onal to that, is there a way of specifying the pattern in the Apache::ASP->Loader call so that I can exclude specific files? There som asp files which are included as part of other files but should not be Try something like "prefix/.*\.asp" for a match say on files in prefix director

Apache::ASP->Loader and precompiling

2002-10-22 Thread Tim Moore
ly as possible. Preferably no output at all, other than the normal Apache messages (if any). Additional to that, is there a way of specifying the pattern in the Apache::ASP->Loader call so that I can exclude specific files? There some asp files which are included as part of other files but shoul

Re: ASP->Loader()

2001-10-08 Thread Joshua Chamas
cc'd list for archival, specified Loader() errors here ... raptor wrote: > > here is it :") ... this is on prod-server (still not online), the > interesting thing that it doesn't give me errors anymore on my dev machine.. > :") > May be some minor error which I possibly corrected on the way... >

Re: ASP->Loader()

2001-10-05 Thread Joshua Chamas
raptor wrote: > > hi, > > I'm getting alot of errors when use ASP->Loader() in httpd.conf It is > not a big deal isn't it ?! What kinds of errors? Seeing the output from starting apache might be nice here. --Josh

ASP->Loader()

2001-10-05 Thread raptor
hi, I'm getting alot of errors when use ASP->Loader() in httpd.conf It is not a big deal isn't it ?! = iVAN [EMAIL PROTECTED] = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e