Re: Problem in using HTML::Index::Store with Apache server(httpd)

"Mumia W." <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On 10/16/2006 01:51 PM, Piyush Agrawal wrote:
> Hi,
> 
> I am trying to write a small web application to index some html files.
> On trying to use HTML::Index::Store, while the perl script is running on
> the Apache Server, it gives the following error (from error_log file):
> 
> ***********************************************
> [Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Can't load
> '/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.so'
> for module Compress::Zlib: libz.so.1: cannot enable executable stack as
> shared object requires: Permission denied at
> /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
> [...]
> I am using a Fedora core 4 machine. Also, the same script runs fine if
> not run on the apache server.
> 
> Any help in debugging this would be highly appreciated!
> [...]

Perhaps selinux is involved in this behavior.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.