[google-appengine] Re: How to set up app.yaml to handle URLs like www.mydomain.com/category/subcategory

2009-07-27 Thread Nick Johnson (Google)
Hi Quim

The URL below will match only the literal text '/category/subcategory'.

Please see the documentation here for details on how to set up URL mappings:
http://code.google.com/appengine/docs/python/tools/webapp/running.html

-Nick Johnson

On Mon, Jul 27, 2009 at 1:14 PM, Quim joaquin.alma...@gmail.com wrote:


 Hi all.

 I want my application to handle URLs like
 www.mydomian.com/category/subcategory.
 I've set up my app.yaml like this:

 - url: /category/subacategory
  script: home.py
 - url: /.*
  script: home.py

 It does not work with the developer server (I've not used production
 server yet).
 What am I doing wrong?

 Thanks in advanced,
 Quin.


 



-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How to set up app.yaml to handle URLs like www.mydomain.com/category/subcategory

2009-07-27 Thread Quim

Thanks a lot for your reply.
Following that link instructions solved the problem.

-Quim.

On 27 jul, 16:53, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi Quim

 The URL below will match only the literal text '/category/subcategory'.

 Please see the documentation here for details on how to set up URL 
 mappings:http://code.google.com/appengine/docs/python/tools/webapp/running.html

 -Nick Johnson



 On Mon, Jul 27, 2009 at 1:14 PM, Quim joaquin.alma...@gmail.com wrote:

  Hi all.

  I want my application to handle URLs like
 www.mydomian.com/category/subcategory.
  I've set up my app.yaml like this:

  - url: /category/subacategory
   script: home.py
  - url: /.*
   script: home.py

  It does not work with the developer server (I've not used production
  server yet).
  What am I doing wrong?

  Thanks in advanced,
  Quin.

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---