[mod_python] Sessions & user management

Graham Dumpleton graham.dumpleton at gmail.com
Mon Mar 24 00:04:02 EDT 2008


On 21/03/2008, Dominique.Holzwarth at ch.delarue.com
<Dominique.Holzwarth at ch.delarue.com> wrote:
>
> I've tried to secure different server-directories with different user groups now but it doesn't seem to work...

How doesn't it work?

> here's what I've added in the httpd.conf:
>
> <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/GUI">
>  AuthType Basic
>  AuthName "Restricted Files"
>  AuthBasicProvider file
>  AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/htaccess/authfile"
>  AuthGroupFile "C:/Program Files/Apache Software Foundation/Apache2.2/htaccess/groupfile"
>  Require valid-user
> </Directory>
>
> <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/GUI/private">
>   Require group developer
> </Directory>

What is the Satisfy directive in Apache configuration set to?

> the authfile is located in the directory stated above and looks like this:
>
> user3:$apr1$qJ3.....$lv0tLx5G7AHMooDbVSwXb/
> user1:$apr1$2N3.....$a7s3qCpdNqmWDj1VnWyQ20
> user2:$apr1$VN3.....$7vbus7toyHoXh0CVzyL2O0
>
> the groupfile looks like this:
>
> developer: user1 user2
> translator: user3
>
> I'm not completely sure wether I need the "" for the path-locations or not. But I tried it both ways and it never worked... my system is windows vista btw (don't if that matters...)
>
> Would be nice if anyone could give me some hints what could be wrong...

A bit more information about what URLs you are using, what you are
seeing happen etc, would help otherwise can only guess.

Graham


More information about the Mod_python mailing list