Try remove
if remote_addr not in hosts:
raise HTTP(400)
in youapp/controllers/appadmin
Massimo
On Sep 16, 1:51 pm, Chris S <[email protected]> wrote:
> I've read through the manual about GAE deployment. I'm under the
> impression I can take my currently running development copy (using
> MySQL), switch the DAL to GAE and then do an explort/import of my
> databases via appadmin. However, I'm having a problem getting to the
> Appadmin (or admin in read only).
>
> To keep it simple I've downloaded the web2py_src and I'm working with
> that. I can upload it to GAE and run the welcome scrip just fine.
> It's just domain/welcome and it's happy. I can even register user
> names.
>
> Trying to access domain/welcome/appadmin
> gives: 400 bad request
>
> Trying to access domain/admin
> gives: disabeled due to lack of security.
>
> Switching to https:
> appadmin doesn't change still 400 bad request
> admin now gives an error ticket about not being able to run files on
> the system
>
> I've tried putting the appcfg.py in /applicatoins/admin/private
> I've tried putting my GAE install directory in admin/models/0.py while
> commenting out the one that points to 'private'.
>
> I'm at a loss. I was under the impression that appadmin worked out of
> the box, and admin would work in read-only mode if you remove the
> exception in app.yaml.
>
> I must be missing something, how can the appadmin be accessed with out
> logging in? I suspect I need to set up some sort of log-in privileges
> but I don't see anything about that anywhere. Can someone point me in
> the right direction?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---