> Hello Mason Users,
> 
> I'm wondering if someone could help me with this Mason
> installation/configuration problem.  I just installed Mason on WinXP
> (Apache 2.2.6, Perl 5.8.8, and mod_perl 2.0), and edited the
> httpd.conf file with:
> 
> PerlModule HTML::Mason::ApacheHandler
> <Directory "C:/Apache2/htdocs/mason">
>       <FilesMatch "\.html$">
>               SetHandler perl-script
>               PerlHandler HTML::Mason::ApacheHandler
>       </FilesMatch>
> </Directory>
> 
> Now when I try to start Apache, it dies with:
> 
Apache HTTP Server has encountered a problem and needs to close.  We are
sorry for the inconvenience.

If I click the "click here" button for more information, I see:  

Error signature
> szAppName : httpd.exe     szAppVer : 2.2.6.0     szModName :
> msvcrt.dll     
> szModVer : 7.0.2600.2180     offset : 00036fa3    
> 
Even just the first of the above httpd.conf lines will cause this
problem.  If, however, I take the lines out of httpd.conf Apache works
fine.  I looked in the Apache logs, but I don't see anything that looks
notable.

> Perl, itself, seems to be able to use Mason.  I can run this simple
> Mason test program and I get the expected output:
> 
> use strict;
> use HTML::Mason;
> 
> my $interp = HTML::Mason::Interp->new();
> my $comp = $interp->make_component(comp_source => <<'END');
>       Greetings, <% ("Earthlings", "Martians")[int(rand 2)] %>
> END
> $interp->exec($comp);
> 
> Here is the configuration I'm running:
> 
> Operating System
> Windows XP Pro
> 
> Apache Version
> Server version: Apache/2.2.6 (Win32)
> Server built:   Sep  5 2007 08:58:56
> 
> Perl Version
> C:\Apache2\bin>perl -v
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> 
> Running mod_perl 2.0
> 
> Mason Installation
> I installed Bundle::HTML::Mason by way of:
> perl -MCPAN -e "install Bundle::HTML::Mason"
> 
> I checked out the following web page:
> http://www.masonhq.com/?FAQ:Installation#h-why_am_i_getting_segmentati
> on_faults__or_silently_failing_on_startup__
> 
> Here are my answers the to the three troubleshooting questions it
> asks:
> 
> - Are you using a dynamically-linked mod_perl?
> C:\>perl -V:usemymalloc
> usemymalloc='n';
> 
> - If "strings `which httpd` | grep -i xml" returns anything, you have
> this problem.
> I have opened httpd.exe with notepad and searched for "xml", and found
> nothing.  Also, I have XML::Parser v2.34-r1 installed.
> 
> - Are you using Perl 5.6.0?
> No, I'm running ActivePerl 5.8.8
> 
> Any ideas on what else to check or what might be wrong?
> 
> Thanks,
> Andrew
> 
> 


*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to