• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Perl and IIS7 not working?

N

nifo

Guest
Trying to get Perl to work on IIS7. Google alot but nothing seems to fix it for me.

Using a simple testfile called testfile.*

Wwhen run from testfile.plx I get:
Hello World

Which is GREAT

But when run from testfile.pl I get:
Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server

Any suggestions?
 
Browser reports:
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

But even when putting the file with everyone and full permissions I get the error :(

Suggestions appreciated!
 
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Hello World ".

LOL? Why not put the output into the browser instead?!?!?

Suggestions?
 
Please post the contents of your testfile.plx file.
 
Try to add this before your hello world

print "Content-type: text/html\n\n";
 
Result: (After a login prompt)

"HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server."


File has anonymous full access and guest full access
 
Delete %plesk_vhosts%\domain.tld\.Security
Run "%plesk_bin%\HostingSecurity.exe" --create-domain-security --vhost-name=domain.tld
Login to plesk and run permission check on your domain.

See if that helps.
 
Here is my test.pl that is working under IIS7

print "Content-type: text/html\n\n";
print "Hello World\n";
 
Back
Top