sorry had to take a break got frustrated. figured it out, got the newest 
version from source and used the config method instead of express.  heres 
how:


INSTALLING FROM SOURCE:

curl -sL https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.21.tar.gz 
| tar xz

tar xvfz mod_wsgi-4.4.22.tar.gz                #unpack if needed

./configure        #( --with-apxs=/usr/local/apache/bin/apxs \
                  #    --with-python=/usr/local/bin/python )
make
sudo make install




        # Location of module: install src/server/.libs/mod_wsgi.so   --->   
/usr/lib/apache2/modules/mod_wsgi.so

sudo nano /etc/apache2/mods-available/wsgi.load

        # add the next string to the file:

LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so

            # save, then

sudo a2enmod wsgi
sudo service apache2 restart


       then from guide created vhost and .wsgi files:   site1.conf      
flaskapp.wsgi

I was curious if I want to remove the mod_wsgi package and rebuild it to 
use python3.4 instead of 2.x whats the cleanest way to delete it?
Im also wondering if theres ways to tweak this process better for example 
not having to do this whole process of configuration for every website I 
make.

Thanks finally getting somewhere




-- 
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