You are not logged in.
Hi,
I installed mod_perl, configured httpd.conf (added the "LoadModule perl-module modules/mod_perl.so" line) and now.. I don't know what to do.
I have a directory with an .htaccess file like this:
AddHandler perl-script .pl
PerlResponseHandler ModPerl::Registry
Options +ExecCGII try to access pl files and the server returns an Error 500.
What am I missing? How do I configure mod_perl in ArchLinux? I tried to google for explanations but whatever I try doesn't seem to work... Any help would be of great use! :)
Offline
Not sure if that can help but here is how I did it (as per http://perl.apache.org/docs/2.0/user/in … y_Scripts):
Alias /perl/ /home/httpd/httpd-2.0/perl/
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Location>Then the test script:
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "mod_perl 2.0 rocks!\n";Offline
I added an entry to our wiki based on this info, please modify it if you have anything to add: https://wiki.archlinux.org/index.php/Mod_perl
Thanks.
Offline