DEV Community

Discussion on: Flask Deploy with Apache on CentOS - Minimal Setup

Collapse
 
sm0ke profile image
Sm0ke • Edited

Hello Sirisha,
Thanks for noticing the article. Try to apply this short checklist:

  • check if /var/www/flask/wsgi.py exists on disk
  • see the permissions of the file

Please notice that Apache runs under certain privileges. Make sure that Apache can access the file.
Let me know if my suggestions helped.

Collapse
 
sirishamuddana profile image
Sirisha-Muddana • Edited

yes, exists on disk and given permission using this command: chmod 755 /var/www/flask/wsgi.py.. but no change