[Bug 228470] LibXML failing under mod_perl (missing initialization code in .xs)

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 27 14:28:31 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: LibXML failing under mod_perl (missing initialization code in .xs)


https://bugzilla.redhat.com/show_bug.cgi?id=228470


bugzilla at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|normal                      |medium
            Product|Fedora Core                 |Fedora
            Version|fc6                         |6

jpazdziora at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpazdziora at redhat.com




------- Additional Comments From jpazdziora at redhat.com  2008-02-27 09:28 EST -------
On Fedora 8 with

# rpm -q perl-XML-LibXML
perl-XML-LibXML-1.62001-2.fc8.3.x86_64

the problem does no longer be present, under mod_perl.

I've created the file /var/www/perl/index.html with content

#!/usr/bin/perl

print "Content-Type: text/plain\n\n";

use XML::Simple;

XMLin("/tmp/file.xml");

print "OK ($$).\n";
__END__

I've created the above mentioned file.xml in /tmp, uncommented

Alias /perl /var/www/perl
<Directory /var/www/perl>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Directory>

in /etc/httpd/conf.d/perl.conf, restarted httpd, and then run

# GET http://localhost/perl/index.pl

until I hit the same pid again. It went alright the second time as well.

I suggest to mark this bugzilla as resolved with CURRENTRELEASE.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list