On 3/10/2014 3:43 PM, King Beowulf wrote:
> On 03/10/2014 02:42 PM, Rich Shepard wrote:
>> ----
>>     Second, the glitch:
>>
>>     When I enter the URL http://localhost/sql-ledger/login.pl I see the 
>> source
>> code for that page, not the login screen. Anyone have ideas how I fix this
>> last issue?
>>
> Oops, never fails: when looking for something else I find the answer to
> your question:
>
> to run perl scripts in Slackware you need mod_perl which is not
> compatible with apache 2.4.x shipping with Slackware 14.0 and 14.1

I might be too late to this game but here's my two cents.

You don't need mod_perl to run .pl perl scripts. mod_cgi works just as 
well for most purposes and mod_perl only complicates matters. In fact, 
the original way to run any Perl scripts was mod_cgi which just executes 
the Perl script like a normal program (a la CGI). mod_perl is not the 
same concept that mod_php is for PHP. mod_cgi is a stock Apache module 
and should come with Apache 2.4 even if mod_perl has not caught up yet. 
The key is to set up the appropriate AddHandler/SetHandler directive to 
make *.pl files a cgi program for mod_cgi. mod_perl is more for very 
specialized uses of Perl where Perl needs a deep connection with Apache 
or very high performance.

>
> You may have to downgrade to apache-2.2 and then build/install mod_perl
> or try bleeding edge mod_perl from SVN.  The Slackbuild.org folks are
> still looking into it I believe and mod-perl-2.0.8 was supposed to work
>
> http://www.linuxquestions.org/questions/slackware-14/mod_perl-for-14-0-a-4175451382/
> http://perl.apache.org/download/index.html
> http://ponce.cc/slackware/testing/mod_perl/
>
>
>
>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to