Solved

.htaccess - Allow cgi scripts without extensions to run

Posted on 2009-05-07
2
573 Views
Last Modified: 2012-05-06
I have a bunch of old Perl web scripts that do NOT have an extension.  Even though the permissions are set to 755 the code is outputted instead of the script running.

Could this be fixed with .htaccess? If so, what should I place in .htaccess?
0
Comment
Question by:hankknight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 200 total points
ID: 24333599
# assuming your files in /cgi-bin/


 Options +ExecCGI
  ...

0
 
LVL 27

Accepted Solution

by:
caterham_www earned 300 total points
ID: 24334159
> Could this be fixed with .htaccess? If so, what should I place in .htaccess?

To pass any resource to mod_cgi,

SetHandler cgi-script
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Register global 21 106
PHP Apache application gives "Forbidden" message 5 77
Domino Website - Redirection 12 98
web server dns redirect 5 61
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question