Python-Django Web IIS configuration on VMRSS

7 replies

Last post Feb 07, 2019 06:49 AM by Hastik

‹ Previous Thread|Next Thread ›
  • Python-Django Web IIS configuration on VM

    Feb 06, 2019 07:35 AM|Hastik|LINK

    Hello guys,

    i configured IIS for python Django web Application on VM but i am getting this error. anyone have any idea how to solve this error thanks in advanced 

    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler Python FastCGI
    Error Code 0x8007010b
    Requested URL http://localhost:8003/
    Physical Path C:\inetpub\wwwroot\KPMG_KRX
    Logon Method Anonymous
    Logon User Anonymous

  • Re: Python-Django Web IIS configuration on VM

    Feb 06, 2019 03:29 PM|lextm|LINK

    https://blog.lextudio.com/shifting-to-azure-app-service-on-linux-b216f4584b03

    It is time to run Python on Linux again. Microsoft no longer makes Windows/IIS a suitable option for you.

    Lex Li
    https://lextudio.com
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 04:30 AM|Hastik|LINK

    hi lex thanks to replay me so there is video on YouTube show that its possible to deploying python-Django web Application on azure VM (window server) and i try that but its given me error 500.0 internal server error so what is issue. or i have not try that and switch to Linux environment can you please guide me thanks in advanced my Email id: hastikpatel786@gmail.com

  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 05:15 AM|lextm|LINK

    Hastik

    its possible to deploying python-Django web Application on azure VM

    Anything is possible, but you have to find your own way when Microsoft no longer supports it. Neither do I.

    Lex Li
    https://lextudio.com
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 05:49 AM|Jalpa Panchal|LINK

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 06:12 AM|Hastik|LINK

    hi Jalpa,

    i already did all the thing installation of python,wfastcgi, adding handler and other thing. i follow this video both video mostly are same and in first video link there is solution of my error is give and i try that also but still i am getting error 

    link

    https://www.youtube.com/watch?v=CpFU16KrJcQ

    https://www.youtube.com/watch?v=cgTFrAwXeoI&t=1s

     and error is HTTP error 500.0 internal server error unknown fastcgi occurred 

  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 06:41 AM|Jalpa Panchal|LINK

    Hi,

    You need to be sure that the The scriptProcessor attribute of the web.config matches Full Path and the Arguments of the FastCGI application.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: Python-Django Web IIS configuration on VM

    Feb 07, 2019 06:49 AM|Hastik|LINK

    Hi,

    yes its correct config already 

    This my web config file

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <handlers>
    <add name="Python FastCGI"
    path="*"
    verb="*"
    modules="FastCgiModule"
    scriptProcessor="c:\users\hastik\appdata\local\programs\python\python37\python.exe|c:\users\hastik\appdata\local\programs\python\python37\lib\site-packages\wfastcgi.py"
    resourceType="Unspecified"
    requireAccess="Script" />
    </handlers>
    </system.webServer>

    <appSettings>
    <!-- Required settings -->
    <add key="WSGI_HANDLER" value="KPMG.wsgi.application" />
    <add key="PYTHONPATH" value="C:\inetpub\wwwroot\KPMG_KRX" />
    <!-- Optional settings -->
    <add key="DJANGO_SETTINGS_MODULE" value="KPMG.settings" />
    </appSettings>
    </configuration>

‹ Previous Thread|Next Thread ›