Django WSGI Apache

Kreirati projekt.com.conf i prebaciti ga u /etc/httpd/conf.d

Konfiguracija:

Listen 8000

WSGISocketPrefix /var/run/wsgi


ServerName gandalf.local

Alias /static /vault0/podaci/_razvoj/webapps/is42/static
Alias /admin_media  /home/myuser/Django-1.1/django/contrib/admin/media

WSGIDaemonProcess is.dizajnzona42.com display-name=%{GROUP} python-path=/vault0/podaci/_razvoj/webapps/is42:/vault0/podaci/_razvoj/webapps/venv/is.dizajnzona42.com/lib/python2.7/site-packages
WSGIProcessGroup is.dizajnzona42.com

WSGIScriptAlias / /vault0/podaci/_razvoj/webapps/is42/is42/wsgi.py


    
        Order deny,allow
        Allow from all
    



 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.