On 20-Apr-2000 Ulrike Schepp wrote:
> Hi Steven!
>
> The same problem ocurred here and i spent a little time in looking for the
> circumstances when this occurs.
>
> On Wed, 19 Apr 2000, Steven D. Arnold wrote:
>
> [...]
>
>> I added 8192 to the debug value so I could get the in-browser links to
>> the debugging information. I also created an EMBPERL_VIRTLOG entry.
>> I then stopped and started apache, and for some reason it now works!
>
> The crucial point was the restart of your apache. I found, that the
> external modules which are linked into the script via the "use ..."
> statement are somehow cached within the memory of the apache. It's the
> same problem if i call the "use..." within [-...-] tags or in the [!... !]
> tags.
If this is the case, I've added Apache::StatINC to httpd.conf:
<FilesMatch *.htm*>
SetHandler perl-script
Options ExecCGI
PerlHandler HTML::Embperl
PerlInitHandler Apache::StatINC
PerlSendHeader On
order allow,deny
allow from all
</FilesMatch>
Soo if you chane your foo.pm, mod_perl will detect that and recompile foo.pm.
I removed the loading my custom modules "foo.pm" in my startup.pl as well,
until I'm done developing and modifying it. I don't know if I really needed to
do this, though?
The mod_perl guide (perl.apache.org/guide) has more info on this.
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]