Hello!
I am trying to configure apache:asp.I am working on Fedora Core-4 and have mod_perl module already present with apache.Now, at its site i read that:
Linux DSO Distributions
If you have a linux distribution, like a RedHat Linux server, with an RPM style Apache + mod_perl, seriously consider building a static version of the httpd server yourself, not DSO. DSO is marked as experimental for mod_perl, and often does not work, resulting in "no request object" error messages, and other oddities, and are terrible to debug, because of the strange kinds of things that can go wrong.
Instead of building static version i've installed updated version of mod_perl and then i followed the following steps to install apache:asp:
Code:
> perl Makefile.PL
> make
> make test
> make install
and then added the following lines to httpd.conf:
Code:
<Directory $DOCUMENT_ROOT/asp/eg >
Options FollowSymLinks
AllowOverride All
</Directory>
and then i placed the site at the document root.Now, when i open to site, it shows me the homepage for it, but when i try to access the examples page i get the error.
In log i have the following error:
Code:
[Wed Nov 15 15:27:14 2006] [error] [client 127.0.0.1] Can't locate object method "get" via package "APR::Table" at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016.\n at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x95d0de4)', 'Global') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 275\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x95d0dc0)', '/var/www/html/asp/eg/index.html') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x95d0dc0)') called at -e line 0\n\teval {...} called at -e line 0\n, referer: http://localhost/
Now, this tells me that i have to create static version of httpd.Is there any other alternative for it?
Bookmarks