Hi, I have been up all night trying to get something, anything at all to work with mod_perl 2 and Apache 2.
I have followed the instructions exactly as far as I can tell. However, they do appear a bit ambiguous.
I have tried a fresh build of Apache 2, a binary installation, and the Apache 2 server included with Redhat 8 that already has mod_perl installed. In all cases, accessing a simple .pl script from the browser just prints the source code to the screen.
This is what I put in my httpd.conf:
---
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
---
If I cause an error page to load up, it tells me that the mod_perl 1.99 is loaded at the string at the bottom. So I am guessing it is at least loading.
So my question is, what am I doing wrong? What is the minimal steps I am missing to get a simple .pl script to execute when I load it in the browser?
Thanks...
I have followed the instructions exactly as far as I can tell. However, they do appear a bit ambiguous.
I have tried a fresh build of Apache 2, a binary installation, and the Apache 2 server included with Redhat 8 that already has mod_perl installed. In all cases, accessing a simple .pl script from the browser just prints the source code to the screen.
This is what I put in my httpd.conf:
---
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
---
If I cause an error page to load up, it tells me that the mod_perl 1.99 is loaded at the string at the bottom. So I am guessing it is at least loading.
So my question is, what am I doing wrong? What is the minimal steps I am missing to get a simple .pl script to execute when I load it in the browser?
Thanks...