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,
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
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
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
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?
>
::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
>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
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)\$"
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
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
> -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
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
> -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
>
> -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
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
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
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
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...
>
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
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
20 matches
Mail list logo