# HG changeset patch # User paulb # Date 1121721111 0 # Node ID 3d0fda3123e21a6c89c0c2feef7935c1f22ed20e # Parent 36a5c6bc9dfaed7cf2962822c99950cb05f9128d [project @ 2005-07-18 21:11:51 by paulb] Added additional documentation to make configuration of the login redirect resource more obvious. diff -r 36a5c6bc9dfa -r 3d0fda3123e2 examples/CGI/SimpleWithLoginHandler.py --- a/examples/CGI/SimpleWithLoginHandler.py Mon Jul 18 21:11:27 2005 +0000 +++ b/examples/CGI/SimpleWithLoginHandler.py Mon Jul 18 21:11:51 2005 +0000 @@ -12,8 +12,12 @@ deploy( LoginRedirectResource( - login_url="http://localhost/cgi/login", - app_url="http://localhost", + login_url="http://localhost/cgi/login", # Change this to be the exact URL on your server. + # eg. http://localhost:8000/cgi/LoginHandler.py + app_url="http://localhost", # Change this to be the URL base for your server. + # eg. http://localhost:8000 + # Note that the login application can be placed on + # a different server if desirable. resource=SimpleResource(), authenticator=LoginRedirectAuthenticator(secret_key="horses"), anonymous_parameter_name="anonymous",