On Sun, May 6, 2012 at 9:49 AM, Mchurch <[email protected]> wrote:
> Good morning to everybody.
> I've a web2py application on a windows machine, the public windows ip
> machine is 192.168.100.191.
> From my mobile cell (nor tablet..) i can't get localhost.
> I tried many times with 0.0.0.0, 127.0.0.1, and even if with the public ip
> 192.168.100.191 but i always get "SITE DOWN FOR MAINTENANCE"
> If I access localhost form the windows machine everything works fine.
> It seems to me some permission problem....
In gluon/main.py you have this piece of code:
elif not request.is_local and \
os.path.exists(os.path.join(request.folder,'DISABLED')):
raise HTTP(200, "<html><body><h1>Down for
maintenance</h1></body></html>")
Check if you have a DISABLED file in your app directory.
Ricardo