diff --git a/apache/ExampleFlask.conf b/apache/ExampleFlask.conf new file mode 100644 index 0000000..86b5556 --- /dev/null +++ b/apache/ExampleFlask.conf @@ -0,0 +1,17 @@ + + # Add machine's IP address (use ifconfig command) + ServerName 192.168.0.32 + # Give an alias to to start your website url with + WSGIScriptAlias /testFlask /home/takiguchi/ExampleFlask/my_flask_app.wsgi + WSGIDaemonProcess FlaskApp python-home=/home/takiguchi/ExampleFlask + #WSGIProcessGroup FlaskApp + + # set permissions as per apache2.conf file + Options FollowSymLinks + AllowOverride None + Require all granted + + ErrorLog ${APACHE_LOG_DIR}/error-example-flask.log + LogLevel debug + CustomLog ${APACHE_LOG_DIR}/access-example-flask.log combined +