You need to verify that CGI is enabled and there is a mapping that
tells IIS to use Perl to run RAdmin’s CGI scripts.
Verify that IIS is installed. If not, choose “CGI” under Role Services
during the installation. If IIS is already installed, verify that “CGI”
enabled:
- ServerManager -> Tools -> Internet Information Server (IIS)
Manager
- Click the Server and see that CGI available. If not, go to
ServerManager and click Manage -> Add Roles and Features -> Server
Roles -> Web Server (IIS) and locate and select CGI.
For CGI to work, you must set up CGI directory and create a mapping so
that the CGI scripts are processed by Perl.
- Right click on your chosen website and choose “Add Virtual
Directory”. Create a mapping for the CGI scripts directory. For example,
map “/Scripts” to a newly created “C:\Inetpub\Scripts”.
- Click on the new virtual directory “Scripts” and double click on
“Handler Mappings”. Choose “Add Script Map”. Enter “*.pl” for Request
path and enter the full path to the installed perl.exe. For example,
‘C:\path\to\perl.exe “%s” %s’ where %s are literal parameters, including
double quotes for the first parameter.
-