Thank you, Now it's working as spected.
appconfig.ini [host] > names = subdomain:* > I removed the virtualhost regarding the dedicated ips and set DocumentRoot in port 80 for my subdomain to /dev/null Not sure if it's the right way but it's working now without expliciting having a virtualhost for each ip to avoid ip direct access. About nginx, of course it's much better, but old customs are hard to avoid :) Regards El jueves, 1 de agosto de 2019, 12:00:01 (UTC+2), Dave S escribió: > > > > On Thursday, August 1, 2019 at 1:37:37 AM UTC-7, Jose C wrote: >> >> I use Lets encrypt certificates and redirecting from 80 to 443, and I >>> don't touch virtualhost file in port 80 so for sure, i'm doing something >>> wrong with apache3 and for sure with host names in appconfig.ini >>> >>> [host] >>>> names = localhost:*, 127.0.0.1:*, *:*, * >>>> >>>> >> That is worrying. I can only suspect some kind of misconfiguration with >> apache to be causing this. Unfortunately I know nothing about apache conf >> so can't help. I'd recommend creating a new post with this issue you're >> having... one of the more knowledgeable folks might be able to help you >> figure out what is going on. >> > > I'd agree that it is an Apache issue. With my Nginx configuration, I get > the expected "invalid function" response from web2py. > > The group wisdom seems to be that Apache setup is arcane and complicated, > and Massimo and others explicitly recommend Nginx for production. If you > are constrained to Apache, though, that could be tough. And I'm no help > there. > > /dps > > -- 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/98e74b5e-bc06-4ef3-9dbf-f3d10502a36f%40googlegroups.com.