EDIT:  my bad, had to create wsgi.load file then enable it.  sudo a2enmod 
wsgi.  Now all my conf files are set up right I think.  Just to be clear, 
is this where I put the line     

                  WSGIPythonHome /var/www/site1/FlaskApp/FlaskApp/venv

sudo nano /etc/apache2/sites-available/site1.conf        

<VirtualHost *:80>
                ServerName 192.168.1.102
                ServerAlias site1.me
                ServerAdmin [email protected]
                WSGIScriptAlias / /var/www/site1/FlaskApp/flaskapp.wsgi
                WSGIPythonHome /var/www/site1/FlaskApp/FlaskApp/venv

                <Directory /var/www/site1/FlaskApp/FlaskApp/>
                        Order allow,deny
                        Allow from all
                </Directory>
                Alias /static /var/www/site1/FlaskApp/FlaskApp/static
                <Directory /var/www/site1/FlaskApp/FlaskApp/static/>
                        Order allow,deny
                        Allow from all
                </Directory>
                ErrorLog /var/www/site1/logs/error.log
                LogLevel warn
                CustomLog /var/www/site1/logs/access.log combined
</VirtualHost>


With this apache wont run.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to