Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-22-2007, 05:16 AM   #1
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Perl programs downloading as binary via cgi/apache?


Actually, it's not downloading binary code anymore. It's downloading the source to my scripts. I still always have trouble getting CGI going on Apache. Any clues?

I've got the following in my conf:

        <Directory "/var/www/cgi-bin/vqadmin">
                deny from all
                Options +ExecCGI
                AllowOverride AuthConfig
                Order deny,allow
I've tried adding
AddHandler cgi-script .cgi .pl
is also in the config file.

Last edited by jon_k; 02-22-2007 at 05:24 AM.
Old 02-22-2007, 05:28 AM   #2
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30

Posted way too soon. If anyone in the future finds this thread by search:

Alias /cgi-bin/ /var/www/cgi-bin/
<Location /cgi-bin/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all

Works great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I run a perl and cgi scripts in my apache.?. ethnicme Programming 6 07-21-2006 04:02 AM
How to run cgi programs with perl in susu 10??? please help me!!!! geril SUSE / openSUSE 1 11-20-2005 05:58 AM
I think I need a perl, apache, cgi GOD WorldBuilder Linux - Software 1 09-21-2003 09:49 AM
Enabling CGI and Perl on Apache 2.0.47 666Snake666 Linux - Newbie 1 09-17-2003 01:20 PM
Disallowing apache to use cgi and perl cannus Linux - General 8 12-21-2002 05:51 PM

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration