Configuring IIS for Python script support

Now, let us configure IIS to ensure it supports execution of Python scripts on the web server itself, and allows end users to directly run Python scripts by calling the web URLs from the web server. The following are the steps to do this: 

  1. As we expand the properties on the left, we see the Default Web Site option. If you right-click on this, there is a section called Add Application. Click on it to see the following screenshot:

In this screen, we have to enter two specific values:

    • Alias: This is a value that is part of our web URL. For example, http://<servername>/test will be the URL if our ...

Get Practical Network Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.