i tried as you wrote here... and it doesn't work for me
app.yaml:
handlers:
- url: /scripts/.*
script: vtip.py
- url: /.*
script: main.py
vtip.py:
application = webapp.WSGIApplication([('/scripts/.*', MainHandler)],
debug=True)
i cannot execute vtip.py
http://localhost:8080/scripts ...throws error 404
http://localhost:8080/scripts/ or http://localhost:8080/scripts/vtip.py
... throw:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3180, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3123, in _Dispatch
base_env_dict=env_dict)
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 515, in Dispatch
base_env_dict=base_env_dict)
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2382, in Dispatch
.......................................................... and so on
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.