How to allow installing and install Django applications?




  • Avatar

    Can you please clarify step 10? what is the directory structure before and after this command?

  • Avatar
    Bulat Tsydenov

    Thank you for bringing that to our attention. The article was modified.

  • Avatar

     Hi thanks for the tutorial, I tried to follow the steps however i seem to have issues with the Phusion Passenger. I tried through both nginx proxy and apache however in the first i get a forbidden 403 error and in the second to a generic centOS testing html page. it seems that when i got to my site the django server is not reached.

  • Avatar
    Konstantin Annikov


    I could not find any staff with similar symptoms in the internal knowledgebase. 

    So, I recommend you to contact our Technical Support in order to find the cause of the issue. 

  • Avatar
    Phoebe Bright

    I have followed these instructions on a Centos 7 server with Plesk Onyx installed.

    When I try to add these lines to additional apache directives (my setup is slightly different)

    PassengerPython /home/.virtualenvs/myapp/bin/python
    PassengerEnabled on

    I get the error:

    Invalid Apache configuration: [Wed Nov 22 11:18:45.584621 2017] [so:warn] [pid 19397] AH01574: module actions_module is already loaded, skipping [Wed Nov 22 11:18:45.587626 2017] [so:warn] [pid 19397] AH01574: module headers_module is already loaded, skipping [Wed Nov 22 11:18:45.588008 2017] [so:warn] [pid 19397] AH01574: module logio_module is already loaded, skipping [Wed Nov 22 11:18:45.589475 2017] [so:warn] [pid 19397] AH01574: module suexec_module is already loaded, skipping AH00526: Syntax error on line 3 of /var/www/vhosts/system/ Invalid command 'PassengerPython', perhaps misspelled or defined by a module not included in the server configuration

    By default, Phusion Passenger was not installed, but I added it by going to 

    • Plesk, Tools & Settings, Plesk - Updates and Upgrades, Add/Remove components, Web Hosting, click on Phusion Passenger server, Continue

    and now shows as installed.

    On another server with Ubuntu rather than Centos and the same version of Plesk I was able to use this line in the apache directives successfully but am a bit wary of installing things outside of plesk:

           WSGIScriptAlias / /home/django/myapp/config/

    Are there any alternative approaches to getting this working?  



  • Avatar
    Artyom Baranov

    @Phoebe Bright,

    Hello! We have an article for the first "module is already loaded" issue:

    As for the second question, could you please clarify the purpose of this directive?

Please sign in to leave a comment.

Have more questions? Submit a request