Does request.env.http_host gives us the information you want?
On Wednesday, September 9, 2020 at 4:36:38 PM UTC+2 Manuele wrote: > Hi!! > Behind a mod_proxy apache virtual host how can I get within the server > side code witch hostname has been currently called? Considering at the > moment I have configured one hostname and more than one aliases I'd like > not to write the hostname directly ion the code. > > Thanks a lot! > > Manuele > > -- 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/2ba3b690-933f-4b93-a8de-138f7c5f34a9n%40googlegroups.com.