Hi Jose, I did the changes as per your suggestion. Now when I specify a default application it takes me to the same application when I access any domain. Secondly - If I specify my domain name without a www. prefix (example: artpic.in) I am navigated to welcome however the app is not show as its not allowed in routes.py . If I specify the complete address it works properly example: www.artpic.in . Have a look at the screenshot. Also you can check it as I havent reverted the changes yet. Let me know.
*My routes.py is * routers = dict( > #base router > BASE=dict( > #default_application='Target', > domains= { > 'www.targetsoft.co.in' : 'Target', > 'www.artpic.in' : 'artpic', > }, > #default_application = 'Target', > applications=['Target', 'artpic', ], > default_fucntion = 'index', > ), > Target = dict( > default_language = 'en', > languages = ['en'], > default_function = 'index', > ), > artpic = dict( > default_language = 'en', > languages = ['en'], > default_function = 'index', > map_hyphen = True, > ), > > ) Regards, *Rahul* On Thu, Aug 1, 2019 at 2:07 PM Jose C <houdinihoun...@gmail.com> 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. > > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/lvOxb_mb6kQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/3611fe72-085d-459b-97b4-e5ed4fb9d34e%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/3611fe72-085d-459b-97b4-e5ed4fb9d34e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2B6uMje7cWPJtXH1h0ySDz_GYLj%3DV6ddvv8a-e89MhLigKnYHA%40mail.gmail.com.