Another thing i forgot to add, is the App.conf in 
*/etc/apache2/site-available* , maybe it help some way to know what causing 
the problem :

<VirtualHost *:80>
                ServerName site.com
                ServerAlias www.site.com
                WSGIScriptAlias / /var/www/MyApp/flaskapp.wsgi
                <Directory /var/www/MyApp/siteapp/>
                        Order allow,deny
                        Allow from all
                </Directory>
                Alias /static /var/www/MyApp/siteapp/static
                <Directory /var/www/MyApp/siteapp/static/>
                        Order allow,deny
                        Allow from all
                </Directory>
                ErrorLog ${APACHE_LOG_DIR}/error.log
                LogLevel warn
                CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.site.com [OR]
RewriteCond %{SERVER_NAME} =site.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pocoo-libs+unsubscr...@googlegroups.com.
To post to this group, send email to pocoo-libs@googlegroups.com.
Visit this group at https://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to