That worked.  Thanks!

On Nov 5, 3:41 pm, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have you tried to create an empty file and use the filename as AuthUserFile?
>
>   Thomas
>
> Matt schrieb:
>
>
>
> > Hi,
>
> > I have Django running on Apache 2.2 on windows.  I am attempting to
> > use django authentification to secure an apache folder using this
> > configuration:
>
> > <Location "/static/">
>
> >     AuthType Basic
> >     AuthName "mysite.com"
> >     AuthUserFile /dev/null
> >     AuthBasicAuthoritative Off
> >     Require valid-user
> >     PythonPath "['E:/Software/django'] + sys.path"
> >     SetEnv DJANGO_SETTINGS_MODULE testproject.settings
> >     PythonOption DJANGO_SETTINGS_MODULE testproject.settings
> >     PythonAuthenHandler django.contrib.auth.handlers.modpython
> > </Location>
>
> > However, it complains that it cannot find /dev/null.  Is there
> > something I can use instead of /dev/null for use on windows?
>
> > Thanks
>
> --
> Thomas Guettler,http://www.thomas-guettler.de/
> E-Mail: guettli (*) thomas-guettler + de
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to