CGI Script not executing

  • Answered
I have a cgi script on my site, called by

I created a folder named cgi-bin in /Journal and placed the script, search.cgi, inside this folder.

This script worked on my previous host but has not worked on inmotion (I transferred hosts yesterday.)

The site loads normally, but when the script is called, I get an error from the URL

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

I think I need to enable cgi in this folder, but don't see how to do it. Weirdly, some of my folders had cgi-bin subfolders already present, while others like Journal did not.

Hello Preston,

The issue was the permission settings on the search.cgi file. It had no execution permissions. I changed the permissions from 644 to 755 and it began to work properly.

Best Regards,
Scott M