LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

[EDIT]
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:

Code:
        <Directory "/var/www/cgi-bin/vqadmin">
                deny from all
                Options +ExecCGI
                AllowOverride AuthConfig
                Order deny,allow
        </Directory>
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
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Hi,

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
</Location>

Works great.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

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