Out of curiosity, why is that you need so much 0.0.0.0 ?
please, run two instances of web2py
one like:
python web2py.py -i 127.0.0.1 -p 8001 -a "password"
second:
python web2py.py -i another_ip_of_yours -p your_port -a ""
then enter 127.0.0.1:8001 in your browser.
your apps will be visible through another_ip_of_yours:8001 but tickets
and admin only through 127.0.0.1 ..
this is the easiest way. do not be afraid to run as many instances of
web2py as you need..
--
Kuba
Are you trying to access admin through localhost ??
Out of curiosity, why is that you need so much 0.0.0.0 ?
please, run two instances of web2py
one like:
python web2py.py -i 127.0.0.1 -p 8001 -a "password"
second:
python web2py.py -i another_ip_of_yours -p your_port -a ""
then enter 127.0.0.1:8001 in your browser.
your apps will be visible through another_ip_of_yours:8001 but tickets
and admin only through 127.0.0.1 ..
this is the easiest way. do not be afraid to run as many instances of
web2py as you need..
--
Kuba
You should look for admin on 127.0.0.1:8001
You have configured it this way.
;)
On Sep 22, 2009 6:19 PM, "MikeEllis" <michael...@gmail.com> wrote:
I'm seeing more or less the same problem but I haven't managed to get
the 2-process solution to work yet. I'm trying to use the
recommendation in version 2 of the manual:
""" An easy way to setup a secure production environment on a server
is to first stop web2py and then remove all the parameters *.py files
from the web2py installation folder. Then start web2py without a
password. This will completely disable admin and appadmin. """
So I started web2py with the following command line on my (remote)
webserver:
python2.5 web2py.py -i my_server_ip -p 8000 -a "" &
So far so good. It started and gave the "no password, no admin
interface" message.
Then I followed the second part of the recipe:
"""Next, start a second Python instance accessible only from
localhost:"""
nohup python2.5 -p 8001 -i 127.0.0.1 -a '<ask>' &
Second instance started with no complaints, but trying to reach the
server from my laptop, e.g.
http://my_server_ip:8000/init
gives the "Admin is disabled because of insecure channel' ticket. Any
idea what I'm doing wrong?
Thanks,
Mike
On Jul 26, 1:09 pm, Randell <josephrandell.benavi...@gmail.com> wrote: > On Mon, Jul 27, 2009 at 12...
> <kuba.kuchar...@gmail.com>wrote:
> > > > > Are you trying to access admin through localhost ?? > > Yes. > > > > > Out of curiosity, w...
What do you get with http://myserverip:8000 ?
On Sep 22, 2009 7:30 PM, "MikeEllis" <michael...@gmail.com> wrote:
The problem isn't getting to the admin interface. I didn't even get
that far. The ticket appears when I browse to the application URL.
On Sep 22, 12:54 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote: > You should look for admin o...
> On Sep 22, 2009 6:19 PM, "MikeEllis" <michael.f.el...@gmail.com> wrote: > > I'm seeing more or les...
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subs...