Another possible option:

Use the suggested app.yaml.

Setup your app like this:

class SomeActionHandler(webapp.Requesthandler):
   def get(self, domain):
       self.response.out.write(domain)

application = webapp.WSGIApplication([(r'/(.*)/someaction', SomeActionHandler)],
                                                               debug=True)


Now you can goto:  yourapp.com/DOMAIN.COM/someaction




Robert






On Sun, Oct 17, 2010 at 13:02, Massimiliano
<massimiliano.pietr...@gmail.com> wrote:
> Yes!!!!!!!!!
> Thanks!!!!!!!
>
> Max
>
> 2010/10/17, sodso <sodhisoluti...@gmail.com>:
>> www.urapp.com/urldomainname
>>
>> 1) your app.yaml file will have this handler
>>
>> handlers:
>> - url: /.+
>> script: code.py
>>
>> 2) code.py will have something like this
>>
>> class URLHandler(webapp.RequestHandler):
>> def get(self):
>> var1 = self.request.path #this will give you everything after the
>> www.myapp.com
>> # import os
>> # print os.environ # u can use this dict as well for whatever values u
>> r looking for from the incoming req
>>
>> def main():
>> run_wsgi_app(webapp.WSGIApplication([('/.+', URLHandler)]))
>>
>>
>> hope this helps !
>> cheers !
>>
>> --
>> 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-appeng...@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.
>>
>>
>
>
> --
>
> My email: massimiliano.pietr...@gmail.com
> My Google Wave: massimiliano.pietr...@googlewave.com
>
> --
> 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-appeng...@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.
>
>

-- 
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-appeng...@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.

Reply via email to