AlvinfromDiaspar
AlvinfromDiaspar

Reputation: 6814

Why i cant navigate to a static Html page in my Azure App Service?

I have an azure app service. I have a few html and .aspx pages. I would particularly like to be able to navigate to the .html page. But when i go to the uri in the browser i get this error:

You do not have permission to view this directory or page.

Q) What must i do to allow navigation to such static pages?

Upvotes: 1

Views: 517

Answers (1)

Stanley Gong
Stanley Gong

Reputation: 12153

If you want to access static .html pages hosted by the app service, you need to do some config for its path. For Windows app service, you can create a virtual directory, for containerized app service, you will need to mount a storage account. Details see this official doc.

Upvotes: 1

Related Questions