Hello All,
I am trying to deploy a Flask app on our cPanel server. I have followed the instructions (as far as I know) listed here. I was able to set up the passenger_wsgi.py file as described and installed all dependencies. The Python app appears to be running.
When I navigate to my api in my browser, I am getting the following error:
I have verified that [path] is the correct path to my repository. Additionally I checked the file permissions for the file [path]/passenger_wsgi.py in the cPanel File Manager. It looks like all permissions are enabled as shown in the attached screenshot.
I am hoping that someone can point me in the right direction.
Thanks in advance.
I am trying to deploy a Flask app on our cPanel server. I have followed the instructions (as far as I know) listed here. I was able to set up the passenger_wsgi.py file as described and installed all dependencies. The Python app appears to be running.
When I navigate to my api in my browser, I am getting the following error:
Code:
An error occurred while trying to access '[path]/passenger_wsgi.py': Cannot stat '[path]/passenger_wsgi.py': Permission denied (errno=13)
Apache doesn't have read permissions to that file. Please fix the relevant file permissions.
I am hoping that someone can point me in the right direction.
Thanks in advance.
Attachments
-
14.9 KB Views: 3
Last edited by a moderator: