How to specify WSGIDaemonProcess vhost Option when using SSL

Discussion in 'Installation/Configuration' started by andreash, Mar 31, 2013.

  1. andreash

    andreash New Member


    in a site using SSL, I want to configure mod_wsgi to serve Django. So I add the following to the "Apache Directives":

    WSGIScriptAlias / /var/www/
    WSGIDaemonProcess python-path=/var/www/
    <Directory /var/www/>
    Order deny,allow
    Allow from all
    I have SSL enabled for the site. Now, when I try to restart apache, I get the following error:

    And indeed, the WSGI daemon definition is included twice. I see two options here:

    a) Since I want to enforce SSL for this site (haven't figured out how to do that -- is it possible using ispconfig only?), I don't need the WSGI Daemon definition in the Port 80 Vhost. But how could I do that in ispconfig?

    b) The parameter I give to the WSGIDaemonProcess directive should differ between the port 80 and port 443 vhosts. Is this possible?

    Any help is greatly appreciated :)
  2. Diggo

    Diggo New Member

    Allthough this is a very old topic, i have exactly the same problem. Have you found a solution to that yet?
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Theres no option for setting different directives to ssl and non-ssl vhosts inside ISPConfig yet.
  4. Diggo

    Diggo New Member

    Thanks for the quick reply! Then i can quit on searching a solution for this ;) Looks like i have to set up a separate small vserver for this.

Share This Page