Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8066137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:53:06+00:00 2026-06-05T11:53:06+00:00

I recently update my Slackware13.37 using slackpkg and now firefox show the content of

  • 0

I recently update my Slackware13.37 using slackpkg and now firefox show the content of my perl.cgi script instead of execute.
I am using:

bash-4.2# httpd -v 
Server version: Apache/2.4.2 (Unix) Server built: May 24 2012 14:55:44
bash-4.2# firefox -v 
Mozilla Firefox 12.0
bash-4.2# perl -v 
This is perl 5, version 16, subversion 0 (v5.16.0) built for i486-linux-thread-multi

the script works before update

#!/usr/bin/perl -w

use strict;
use warnings;
use CGI;
use DBI;
use PDF::API2::Simple;
use PDF::Table;
use Data::Types qw(:all);

my @param=();
###############################
###          main          ####
###############################
my $q = new CGI;
if(!defined $q->param('login')){
    if(!defined $q->param('query')){main::login_relogin('Welcome');
    }else{
    my ($fname,$lname,$sec,$w,$h) = main::read_cookie();
    if(defined $sec){
        main::home($fname,$lname,$sec,$w,$h,$q->param('query'),$q->param('param1'),$q->param('param2'));
    }else{main::login_relogin('Your session expired !!!');}
    }
etc... etc...

pls help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:53:08+00:00Added an answer on June 5, 2026 at 11:53 am

    I was having this same problem with Apache 2.4.2.

    Problem solved: mod_cgi.so does not build by default on my system (openSUSE 12.1). When I built Apache 2.2, CGI was part of the core, not a dynamic module as in 2.4. So when running configure, adding –enable-cgi is needed. Also, uncomment “LoadModule dir_module modules/mod_cgi.so” in httpd.conf

    Alternately, use mod_cgid.so, which did build on my system. Per http://httpd.apache.org/docs/current/mod/mod_cgi.html

    “When using a multi-threaded MPM under unix, the module mod_cgid should be used in place of this module. At the user level, the two modules are essentially identical”

    So, uncomment “LoadModule dir_module modules/mod_cgid.so” in httpd.conf. Also uncomment “Scriptsock logs/cgisock” in httpd.conf (in the directive).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started using Xcode 4.2 and the iOS 5 simulator. When I update
UPDATE: Solution at bottom. I recently switched from using a set up such as
I recently updated OS X 10.6.6 as recommended by Software Update: http://support.apple.com/kb/HT4562 Now, even
I'm using an Ajax update panel and have recently added ASP.NET tracing code to
[See update for a more precise specification ...] I recently started using the jquery
Recently i am started using hibernate. to insert or update i am using saveOrUpdate()
I recently made an update to JasperReports library version 4.1.3. Previously, I had a
Recently, I was trying to optimise this query UPDATE Analytics SET UserID = x.UserID
A problem I recently ran into was that when trying to update a field
I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.