Ah, thanks for the link and the example. I see some clues there.
Regards, Chris
On Monday, February 18, 2013 12:40:34 AM UTC+1, Massimo Di Pierro wrote:
>
> Perhaps this can help?
> http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives
>
> Anyway you can mimic it with web2py. In a model a
Perhaps this can help?
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives
Anyway you can mimic it with web2py. In a model add:
if not session.authorized:
if request.post_vars.password == '123456': session.authorized = True
else: raise
HTTP(200,HTML(BODY(FORM('Password:',INPU
I understand it is a primitive system, but also a quick way to put a
website behind a login. I do not want to integrate an authentication
system, because it is only for some betatesters before the website goes
live.
On Sunday, February 17, 2013 4:25:16 PM UTC+1, Massimo Di Pierro wrote:
>
> Why
Why do you want to use htaccess instead of web2py own authentication.
htaccess is such a primitive system.
On Sunday, 17 February 2013 06:26:09 UTC-6, Chr_M wrote:
>
> I come from a PHP background and when I wanted to have a website (or a
> part) behind a login screen (for example for beta tes
4 matches
Mail list logo