shann

Well-Known Member
Jul 5, 2002
366
0
166
cPanel Access Level
Website Owner
Hi,

One of our servers when we run .cgi or .pl file it doesn't execute, but it prompting to download. How can I fix it?
 

DigitalN

Well-Known Member
Sep 23, 2004
420
1
168
Hello,

Check /usr/local/apache/conf/httpd.conf

for

AddHandler cgi-script .cgi .pl

Make sure that .cgi and .pl scripts are listed within the DirectoryIndex config too.