Hi Guys
-- Someone can explain me the right way do create a virtualhost with threads and proccess? my first request is very slow between 5 to 10 seconds.
I'm using ubuntu 14.04 with apache 2.4
Thanks
ServerName 127.0.0.2ServerAlias ahora.local
WSGIDaemonProcess framework processes=5 threads=1 python-path=/mnt/g/Python/osvaldo/framework/:/mnt/g/Python/osvaldo/framework/lib/python2.7/site-packagesWSGIProcessGroup frameworkWSGIScriptAlias / /mnt/g/Python/osvaldo/framework/framework/wsgi.py
#DocumentRoot /mnt/g/Python#ErrorLog /mnt/g/Python/logs/error.log#CustomLog /mnt/g/Python/logs/access.log combined
Alias /static /mnt/g/Python/osvaldo/framework/staticAlias /media /mnt/g/Python/osvaldo/framework/media
<Directory /mnt/g/Python/osvaldo/framework>
<Files wsgi.py>Require all granted</Files></Directory>
<Directory /mnt/g/Python/osvaldo/framework/media/>Require all granted</Directory>
<Directory /mnt/g/Python/osvaldo/framework/static/>Require all granted</Directory>
</VirtualHost>You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/745f9cc4-da3c-48ce-910b-5a7ebcc7eeed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment