Affichage des articles dont le libellé est Custom httpd.conf configuration only for port 80 or port 443. Afficher tous les articles
Affichage des articles dont le libellé est Custom httpd.conf configuration only for port 80 or port 443. Afficher tous les articles

vendredi 28 novembre 2014

Custom httpd.conf configuration only for port 80 or port 443

I am trying to insert some custom configuration for mod_wsgi into httpd.conf. The problem I have is that the custom rules are inserted for both port 443 and for port 80. This leads to an error (duplicate entry).



How do I make an admin entry that wil only be inserted in the virtualhost :80 (or :443) part?



I want to use this configuration:

WSGIDaemonProcess jouwsta user=mysite group=mysite threads=25

WSGIProcessGroup mysite

WSGIScriptAlias / /home/mysite/mysite/mysite/wsgi.py





Custom httpd.conf configuration only for port 80 or port 443