Hello Alexander,

what you're trying will be blocked by most browsers since it is security 
issue. That a website is redirecting the user to another website is always 
suspicious.

What you can try, is to solve this by a CNAME Resource Record 
<https://de.wikipedia.org/wiki/CNAME_Resource_Record>. The other way around 
redirecting from an outside domain to pythonanywhere is described here:
https://help.pythonanywhere.com/pages/CustomDomains/

But just try to contact pythonanywhere's service by writing a mail. They 
will try to help as they always do.

Best regards
Clemens


On Monday, February 17, 2020 at 2:24:57 AM UTC+1, Alexander Hoch wrote:
>
>
> Hello,
>
> I want to redict the *"website.pythonanywhere.com/.../123/=abc 
> <http://website.pythonanywhere.com/.../123/=abc>" *to 
> *"www.newwebsite.de/.../123/=abc 
> <http://www.newwebsite.de/.../123/=abc>". *
>
> I tried it with https://www.nakedssl.com/ but this doesnt work as 
> described in https://help.pythonanywhere.com/pages/NakedDomains for me.
>
> There is another suggestion in deploying a flask app and redirect with the 
> this sample code: https://help.pythonanywhere.com/pages/RedirectWebApp/
> Is there an equivalent solution in web2py? or is there some possiblity to 
> change routes.py to redirect a request.env to the new  
> *"www.newwebsite.de/.../123/=abc 
> <http://www.newwebsite.de/.../123/=abc>".  *with variables, functions and 
> argument.
> This is too difficult for hobby programmer. I really would appreciate your 
> help.
>
> Cheers ;)
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/aabe165d-711c-44fd-90d5-85de7622cf80%40googlegroups.com.

Reply via email to