title: Setting multiple handlers with Python App Engine
body: <p>I just cannot seem to get multiple handlers working. I'm using Google App Engine with Python. The base URL returns "Hello world!", as expected, but I keep getting a 404 error when I try to visit "/girl". </p>
  
  <p>As far as I can tell I'm doing exactly what is specified in the docs:</p>
  
  <p><a href="https://cloud.google.com/appengine/docs/python/config/appconfig" rel="nofollow noreferrer">https://cloud.google.com/appengine/docs/python/config/appconfig</a></p>
  
  <p>And in this similar question:</p>
  
  <p><a href="https://stackoverflow.com/questions/12311000/yaml-file-url-and-script-in-gae-python">YAML file url and script in GAE python</a></p>
  
  <p>and yet trying all variants I can think of on these models does not resolve my 404 problem. I am a beginner and don't really understand how the app.yaml file works, thus I'm pretty sure that I'm not specifying the handlers correctly. But I don't know how to fix it. </p>
  
  <p>app.yaml</p>
  
  <pre><code>application: multiapp
  version: 1
  runtime: python27
  api_version: 1
  threadsafe: yes
  
  handlers:
  
  - url: ./girl/.*
    script: girl.app
  
  - url: .*
    script: main.app
  
  libraries:
  - name: webapp2
    version: "2.5.2"
  </code></pre>
  
  <p>main.py</p>
  
  <pre><code>import webapp2
  
  class MainHandler(webapp2.RequestHandler):
      def get(self):
          self.response.write('Hello world!')
  
  app = webapp2.WSGIApplication([
      ('/', MainHandler)
  ], debug=True)
  </code></pre>
  
  <p>girl.py</p>
  
  <pre><code>import webapp2
  
  class MainHandler(webapp2.RequestHandler):
          def get(self):
              self.response.write('Hey girl!')
  
  app = webapp2.WSGIApplication([
      ('/',MainHandler),
      ('/girl/', MainHandler)
  ], debug=True)
  </code></pre>
  
  <p><strong>Added:</strong> Different organization of the project could definitely avoid having to solve this problem, but I would also like to know why setting these multiple handlers isn't working to begin with.</p>