3.2.4. Check CGI is enabled on your RAdmin hos Previous topic Parent topic Child topic Next topic

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:
  1. ServerManager -> Tools -> Internet Information Server (IIS) Manager
  2. 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.
  1. 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”.
  2. 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.
  3. Tip
    For more information about ensuring that RAdmin perl scripts run with IIS, see http://community.activestate.com/forum-topic/configuring-perl-iis-7-0 Opens in new window