- Plesk for Linux
- Plesk for Windows
The following error is shown while trying to run CGI script on a website:
CONFIG_TEXT: You don't have permission to access \cgi-bin\script.cgi on this server.
File is present in
cgi-binis changed to place the cgi-bin directory in the www-root:
C:\> plesk bin subscription -u example.com -cgi-mode www-root
Plesk bug #PPPM-10790, which is planned to be fixed in future product updates.
Connect to the server via RDP.
Start IIS Manager > expand Sites > example.com > click View Virtual Directories:
Right-click on the folder with Virtual Path cgi-bin > choose Basic Settings and assign the new physical path: