1

The azure portal allows me to add single level virtual directory in its configuration settings.

enter image description here

but I don't know how to add multi level virtual directory in azure?

enter image description here

It throws the below error while saving the settings.

Failed to update web app settings: ["{\"Code\":\"BadRequest\",\"Message\":\"Invalid virtual path '/showcase/test/app' has no parent.\",\"Target\":null,\"Details\":
Joy Wang
  • 39,905
  • 3
  • 30
  • 54
Yahwe Raj
  • 1,947
  • 5
  • 25
  • 37

2 Answers2

4

For the Virtual Directory. It seems that the parent path must already exist if you want to add the multi-level sub virtual directory. You can see this.

enter image description here

You can get more references from other SO answers.

Publish Multiple Projects to Different Locations on Azure Website

Nancy
  • 26,865
  • 3
  • 18
  • 34
0

It's a virtual path so you shouldn't need to drill down, below is what you should be doing.

Image 1

Image 1

Hope this helps

Hannel
  • 1,656
  • 3
  • 10
  • 17
  • I can get single level virtual path (https://myapp.azurewebsites.net/showcaseapp) as I mentioned earlier. My requirement is to get multilevel virtual path like this https://myapp.azurewebsites.net/showcase/test/app. Is your suggetion meet my requirement? – Yahwe Raj Nov 16 '18 at 05:51