Hi,

I've added custom admin pages but when I try to follow the links added
to the left pane of the Administration Console, it results in redirect
loops. Looking at the generated HTML, the iframe with the custom admin
page points to "https://1755-dot-latest-dot-everpix-alpha.appspot.com/
admin/garbage_collect_backings". Going directly to this page (wether
already logged in as an admin or not) works fine, it's only from
within the Administration Console that it doesn't work.

Here's the first redirect:

Request URL:https://1755-dot-latest-dot-everpix-alpha.appspot.com/
admin/garbage_collect_backings
Request Method:GET
Status Code:302 Found
Response Headersview source
content-length:0
content-type:text/html
date:Sun, 18 Sep 2011 13:12:30 GMT
location:https://www.google.com/a/everpix.net/ServiceLogin?
service=ah&passive=true&continue=https://appengine.google.com/_ah/
conflogin%3Fcontinue%3Dhttps://1755-dot-latest-dot-everpix-
alpha.appspot.com/admin/
garbage_collect_backings&ltmpl=ga&shdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEMEgJhaCIUs8mSvSwhTsHxTKlcPf-1VgYU-
f4oATIU8IshzygSsQah4xFNA5qqA98EfBY
server:Google Frontend
status:302 Found
version:HTTP/1.1

And the second one:

Request URL:https://www.google.com/a/everpix.net/ServiceLogin?
service=ah&passive=true&continue=https://appengine.google.com/_ah/
conflogin%3Fcontinue%3Dhttps://1755-dot-latest-dot-everpix-
alpha.appspot.com/admin/
garbage_collect_backings&ltmpl=ga&shdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEMEgJhaCIUs8mSvSwhTsHxTKlcPf-1VgYU-
f4oATIU8IshzygSsQah4xFNA5qqA98EfBY
Request Method:GET
Status Code:302 Moved Temporarily
Response Headersview source
cache-control:private, max-age=0
content-encoding:gzip
content-length:422
content-type:text/html; charset=UTF-8
date:Sun, 18 Sep 2011 13:12:31 GMT
expires:Sun, 18 Sep 2011 13:12:31 GMT
location:https://www.google.com/accounts/ServiceLogin?continue=https%3A
%2F%2Fappengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F
%2F1755-dot-latest-dot-everpix-alpha.appspot.com%2Fadmin
%2Fgarbage_collect_backings&shdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEMEgJhaCIUs8mSvSwhTsHxTKlcPf-1VgYU-
f4oATIU8IshzygSsQah4xFNA5qqA98EfBY&service=ah&ltmpl=ga&passive=true&authuser=0
server:GSE
status:302 Moved Temporarily
version:HTTP/1.1
x-content-type-options:nosniff
x-xss-protection:1; mode=block


----- app.yaml -----

builtins:
- remote_api: on
- appstats: on

inbound_services:
- xmpp_message
- warmup

admin_console:
  pages:
  - name: Flush Memcache
    url: /admin/flush_memcache
  - name: Reprocess Backings
    url: /admin/reprocess_backings
  - name: Reprocess Photos
    url: /admin/reprocess_photos
  - name: GC Backings
    url: /admin/garbage_collect_backings

handlers:
- url: /favicon\.ico
  static_files: static/favicon.ico
  upload: static/favicon\.ico
- url: /mapreduce(/.*)?
  script: mapreduce/main.py
  login: admin
- url: /ereporter.*
  script: $PYTHON_LIB/google/appengine/ext/ereporter/
report_generator.py
  login: admin
- url: /stats.*
  script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
- url: /_ah/xmpp/.*
  script: xmpp_handlers.py
  login: admin
  secure: never
- url: /cron/.*
  script: cron_handlers.py
  login: admin
  secure: never
- url: /task/.*
  script: task_handlers.py
  login: admin
  secure: never
- url: /api/.*
  script: api_handlers.py
  secure: always
- url: /admin/.*
  script: admin.py
  login: admin
  secure: always
- url: /
  script: main.py
  secure: never
- url: /register
  script: main.py
  secure: never

- Pol

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to