*Thank you for your reply, I tried your solution but it doesn't work. *
*I have no forward setted up on GoDaddy, but google appengine not supports
naked domain. In Google App control panel there is a costraint that requires
www as a target for the naked domain. Maybe for this reason
request.get_full_path() returns always "/" . Any other ideas?
*
2011/3/29 Sahid Orentino Ferdjaoui <[email protected]>

> Hello,
>
> You need to remove the redirection mydomain.com/<http://mydomain.com/foo/bar>
>  -> www.mydomain.com in Godaddy and use a middelware.
>
> An example:
>
> class SubDomainMiddleware(object):
>     def process_request(self, request):
>         bits = request.get_host().split('.')
>         subdomain = bits[0]
>  if subdomain <> "www":
>             return HttpResponsePermanentRedirect"
> http://www.mydomain.com/%s"; % (request.get_full_path()))
>
>  --
> 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.
>



-- 

*Ing. Giacinto Decataldo*
*Software Engineer, ICT & Industrial Automation*


*Contacts:*
*email:* *[email protected]
phone:* *+39 380 51 42 261*
*site:* *http://about.me/decataldo*
*
*

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

Reply via email to