Solved

.htaccess - Allow cgi scripts without extensions to run

Posted on 2009-05-07
2
565 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
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now