[Twisted-web] RE: [Twisted-Python] Log in - state of the art?
Alexander May
alex-news at comcast.net
Fri Nov 5 15:12:14 MST 2004
Minor correction for question 1. My specific case is:
Mysite.com/abcd.html, not Mysite.com/foo/bar
-----Original Message-----
From: twisted-web-bounces at twistedmatrix.com
[mailto:twisted-web-bounces at twistedmatrix.com] On Behalf Of Alexander May
Sent: Friday, November 05, 2004 5:00 PM
To: 'Twisted general discussion'; twisted-web at twistedmatrix.com
Subject: [Twisted-web] RE: [Twisted-Python] Log in - state of the art?
Thanks Mike and Donovan. The examples were very helpful. Two questions
though:
1) If the user types in something like mysite.com/foo/bar and is not yet
logged in, they get the "Sorry, but I couldn't find the object you
requested." page. I would like them to get the log in page, and then be
redirected to the mysite.com/foo/bar afterwards. Can I do this?
2) How do I replace the "Sorry, but I couldn't find the object you
requested." with my own page?
Thanks,
Alex
(cross posted to twisted web group)
-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of Mike C.
Fletcher
Sent: Friday, November 05, 2004 2:55 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] Log in - state of the art?
I did up a few howtos in my blog a while back:
http://blog.vrplumber.com/356
http://blog.vrplumber.com/358
http://blog.vrplumber.com/371
which covers the "official" way to protect a Nevow site (as gleaned from IRC
conversations with Nevow's creators). I think Mary was planning on doing up
official docs for the process at some point.
HTH,
Mike
Alexander May wrote:
...
>What modules and classes should I be looking at? Are there any
>examples out there? Is the how-to on the website
>(http://twistedmatrix.com/documents/current/howto/cred) up to date?
>
>
...
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-web mailing list
Twisted-web at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
More information about the Twisted-Python
mailing list