Bug enabling Python in ISPC 3.1.8p1

Discussion in 'Developers' Forum' started by NdK, Nov 27, 2017.

  1. NdK

    NdK Member

    Hello all.
    I think I've hit a bug with the first python site I tried to create :(
    I created it as usual, but instead of enabling PHP I enabled python.
    Them, I placed a simple test .py file in site's web/ , but trying to access it resulted in a download of the file instead of its execution.
    I manually fixed changing
    <Directory /var/www/clients/clientXX/webYY/web>
    to
    <Directory /var/www/DNS.ADDRESS.OF.SITE/web>
    Then I "automated" it adding a snippet with {DOCROOT} instead of DNS.ADDRESS.OF.SITE, but I think ISPC should do it automatically...
    PS: the same bug could be with webdav, too, but I didn't test it.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make a report in the bugtracker so we can look into the issue for the next update.
     
  3. NdK

    NdK Member

    Done. Issue #4864.
    Should be a really quick fix :)
     
    till likes this.

Share This Page