I have a problem with deploying my web app Flask Html css

fb99 0 Reputation points

Good morning,
I have deployed my webapp on azure, the problem is that when I try to access the site in question it shows me:
"You do not have permission to view this directory or page."


Is there anything I need to do?
Thank you very much

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,227 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,136 Reputation points

    Hi @fb99 looks like there is an issue with permissions within Azure App Service that's preventing your web application from serving content correctly. what level of permission do you have? Here is one way to troubleshoot the issue:

    • Access the Azure portal and navigate to your App Service resource. Go to the "Configuration" section and ensure the following:
      • Web server: Make sure the web server (e.g., IIS) is configured to serve content from the expected directory where your Flask application resides.
      • Startup command: Verify that the startup command specified in your deployment process points to the correct entry point of your Flask application (e.g., python app.py).
    • I would also recommend accessing the deployment logs for your App Service resource. These logs might reveal specific errors or warnings during deployment that could be causing permission issues. Look for messages related to file access, startup failures, or configuration errors.
    0 comments No comments