Help! I ran into my first Plesk migration issue and I'm unsure what to do because the problem involves a CGI script that was written so long ago I don't recall why this exists. But I think the cause of today's problem is this line in my psw_cgi.pl CGI script.
use cPanelUserConfig;
As I said, this code has been in service for years (back when I first signed up with Heliohost) and I can't totally recall why I had to add it, but I assume now that we moved to Plesk, this is a problem.
When my users try to execute this cgi perl script which is called from an html page they are getting the following error messages
[Mon Jun 13 14:38:50.703222 2022] [cgid:error] [pid 111896:tid 139916253103872] [client 173.3.11.242:40140] End of script output before headers: psw_cgi.pl, referer: https://daskunk.heliohost.org/pbc/login.html
[Mon Jun 13 14:38:51.978860 2022] [autoindex:error] [pid 111896:tid 139916177569536] [client 173.3.11.242:40142] AH01276: Cannot serve directory /home/daskunk.heliohost.org/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive, referer: https://daskunk.heliohost.org/cgi-bin/psw_cgi.pl?html=login.html
What do I need to do in my CGI perl script to work with Plesk?
Thank you