Re: How to do this simple php trick with araneida?
Friedrich Dominicus <[email protected]> Wed, 10 May 2006 07:58:15 +0200
| Newsgroups | gmane.lisp.web |
|---|---|
| Organization | Q Software Solutions GmbH |
| Message-ID | <[email protected]> |
Jonathon McKitrick <[email protected]> writes: > I'd like to do a simple login form that protects an entire directory of files. > When the login is correct, redirect to the home page under that directory. > When it is not, redirect back to the login page. > > Simple, right? Well, in php it is. But in araneida it seems I have to set up > a special handler, check for the file being asked for, and react > accordingly. That is exactly what has to happen in PHP also. Araneida is a Web Server and nothing more. So you have to write it yourself or use something existing. You can try e.g UCW which has a login component, you can use portableaserver which has featrues for authentication also. Or you do it the araneida way and implement it yourself. See e.g http://www.codecomments.com/Lisp/message851420.html about a discussion about it. Regards Friedrich