--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/ded196fd-0b21-44ba-b6d5-b91b194e196dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/6b61b8c9-4a3b-4c1c-bfc7-6f732542f975n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/a75ae12f-3f82-44c1-9deb-6dde36c844a2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/7576c999-0314-4c54-9287-229bed83abc2n%40googlegroups.com.
<Directory /var/www/html>
Require all granted
</Directory>
WSGIRestrictEmbedded On
<VirtualHost *:80>
ServerName thegacway.com
ServerAlias www.thegacway.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Define a mod_wsgi daemon process group.
WSGIDaemonProcess www.thegacway.com display-name=%{GROUP}
# Force the Python web application to run in the mod_wsgi daemon process group.
WSGIProcessGroup www.thegacway.com
WSGIApplicationGroup %{GLOBAL}
# Disable embedded mode of mod_wsgi.
# Set document root and rules for access.
#DocumentRoot /var/www/html
<Directory /var/www/html>
Options ExecCGI SymLinksIfOwnerMatch FollowSymLinks
DirectoryIndex index.php
AddHandler application/x-httpd-php .php
AddHandler wsgi-script .py
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /main.py/$1 [QSA,PT,L]
</Directory>
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/be184d21-d018-4068-b331-891939041d0bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/5629a354-04e7-48ee-b2b5-3f02742d23a3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/a42849ce-f6a2-4aed-8226-4e0df7899480n%40googlegroups.com.