Matt wrote on 11/05/08 16:26:
> 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?
> 

The equivalent of /dev/null on windows is NUL.


--~--~---------~--~----~------------~-------~--~----~
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