It keeps timing out and I've been trying to solve it to no avail.
Here my modwsgi.conf

<VirtualHost *:80>
      ServerName localhost
      ServerAlias ----------.com *.----------.com
      
      Define project_name     ----------
      Define user             -------------
      
      Define project_path     /srv/http/fosware
      Define wsgi_path        /srv/http/fosware/fosware
      Define environment_path /srv/http/fosware/venv
      
      WSGIDaemonProcess ${user}-${project_name} user=${user} group=${user} 
processes=1 threads=1 python-eggs=/tmp/python-eggs/ 
python-path=${project_path}:${environment_path}/lib/python2.7/site-packages
      WSGIProcessGroup ${user}-${project_name}

      WSGIScriptAlias / ${wsgi_path}/wsgi.py

      <Directory ${project_path}>
        <IfVersion < 2.3 >
        Order allow,deny
        Allow from all
        </IfVersion>
        <IfVersion >= 2.3>
        Require all granted
        </IfVersion>
      </Directory>        
      

      Alias /static ${project_path}/static
      <Directory ${project_path}/static>
             Require all granted
             SetHandler None
             FileETag none
             Options FollowSymLinks
      </Directory>

      Alias /media ${project_path}/media
      <Directory ${project_path}/media>
             Require all granted
             SetHandler None
             FileETag none
             Options FollowSymLinks
             ErrorDocument 404 /error404
      </Directory>

      ErrorLog /var/log/httpd/${user}-${project_name}-error.log
      LogLevel info
      CustomLog /var/log/httpd/${user}-${project_name}-access.log combined
</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/02fb2171-ca59-4053-9be3-8ff75e9cf9edn%40googlegroups.com.

Reply via email to