[Lispweb] How to do this simple php trick with araneida?
Friedrich Dominicus
frido at q-software-solutions.de
Wed May 10 00:58:15 CDT 2006
Jonathon McKitrick <jcm at FreeBSD-uk.eu.org> 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
More information about the lispweb
mailing list