title: App Engine PHP upload file
body: <p>I'm trying to figure out how to upload my files correctly to Google App Engine. Everything works if I declare a handler for a static directory named images - there's no upload statement needed - but if I try to use regex to upload only web graphics, the files (evidently) aren't uploaded. </p>
  
  <p>Here's my app.yaml:</p>
  
  <pre><code>application: static-files-demo-999
  version: 1
  runtime: php
  api_version: 1
  
  handlers:
  - url: /styles
    static_dir: styles
  
  - url: /images/(.*\.(gif|png|jpg))
    static_files: static/images/\1
    upload: images/(.*\.(gif|png|jpg))
  
  - url: /.*
    script: main.php
  </code></pre>
  
  <p>As far as I can tell, it's exactly like the docs say, just targeting my images folder. Can anyone spot what I'm doing wrong?</p>
  
  <p>Much appreciated!</p>
  
  <p>Best - Joe </p>