[web2py] Re: Syntax Error "unknown app...."

2018-07-12 Thread Anthony
> > Hi, thanks for your response. That seems like a good solution and I think > I'm going to go that way, but I still ask ... > Is there a possibility to change the code in rewrite.py so that it does not > throw the error, but does not include that domain in the list and make a > log warning

[web2py] Re: Syntax Error "unknown app...."

2018-07-12 Thread fiubarc
Hi, thanks for your response. That seems like a good solution and I think I'm going to go that way, but I still ask ... Is there a possibility to change the code in rewrite.py so that it does not throw the error, but does not include that domain in the list and make a log warining? domai

[web2py] Re: Syntax Error "unknown app...."

2018-07-11 Thread Anthony
routes.py is just Python code, so you can write code that will dynamically generate the "domains" dictionary based on folders found in the /applications folder. However, whenever you make a change, you will still need to reload routes.py (or restart the web server), as routes.py is only execute