title: How to create simple static azure web app
body: <p>I would like to create a simple static web site on Azure Web Apps. I don't want any VS or PowerShell so I have just connected my Azure Web App to my OneDrive account. I just want to edit my local files and see them on site.</p>
  
  <p>I have created new web app, connected it to my OneDrive account and this step was fine, it created apps/Azure Web Apps/""app name"" folder in my OneDrive so I have placed some html/css files there. Web App was synchronized; however, I could not open any html file (404 could not get resource index.html).</p>
  
  <p>I FTP-ed site and I have found that there is a following element in my Web.Config file:</p>
  
  <pre><code>&lt;rule name="StaticContent"&gt;
    &lt;action url="public{REQUEST_URI}" type="Rewrite"/&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>Ok, so by default it assumes that static content will be in "public" folder so I have created "public" folder in my OneDrive and moved html file there. I have opened html file on my site url via browser and it was shown successfully!!!</p>
  
  <p>Now, I have copied some other html/css files in subfolders of my "public" folder, but I cannot open them. Http requests to ""site""/somefolder/file.html ""site""/somefolder/file.css returns 404.</p>
  
  <p>It seems that StaticContent rule do not matches subfolders.</p>
  
  <p>I can continue hacking this and modifying iisnode rewrite rules,  but am I missing something?</p>
  
  <p>I just want simple static site connected to my OneDrive or Dropbox account, no VS, no power shell, no customization. Is it possible that this is a minefield if you are using the simple use case? Is there some tutorial or setting that I have not found?</p>