0
votes

I have a problem setting the document root for a Zend Framework application that I want to run in Azure.

Now I'm testing Web Sites, Cloud Service and VM's to deploy my work.

Deploying with Webmatrix works fine, but I need to set the document root of IIS to a subfolder.

- application
- htdocs => Webroot with Web.config
- libs

How do I set this? With a second Web.config outside of htdocs Redirecting inside? Tried that, but IIS doesn't seem to like it (500err).

The only thing I found was building a WEBSITE_PRIVATE_EXTENSIONS to change the ApplicationHost.config: Azure PHP Documentation

This seems to be which seems to be overly complicated...

1

1 Answers

1
votes
  1. Go to Portal and open the CONFIGURE tab for your site
  2. Scroll all the way to the bottom enter image description here

  3. Change site\wwwroot to point wherever you want to