• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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