• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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