AuthType Basic
AuthName "jlcarroll.net"
Require valid-user
SetEnv DJANGO_SETTINGS_MODULE django_smug.settings
PythonAuthenHandler django.contrib.auth.handlers.modpython
pythonOption DJANGO_SETTINGS_MODULE django_smug.settings
Options +Indexes
SetHandler None
I can index the files, but the index doesn't show directories for some
strange reason....
When I change the .htaccess file to the following:
Options +Indexes
SetHandler None
It indexes files and directories. No idea why....
when I set it to:
AuthName "HohumRealm"
AuthType Basic
AuthUserFile /home/jlc/Family.passwd
require valid-user
Options +Indexes
SetHandler None
It also works. So, this seems to mean that I can't use django
authentication, but have to use old school .htaccess authentication to
protect directories IF I want directory indexing to function
correctly. This isn't a deal killer, but it does mean that I can't use
the same password list for both, which is a bother. Any ideas how to
fix this?
James
--
"And very early in the morning
the first day of the week,
they came unto the sepulchre
at the rising of the sun..." (Mark 16:2)
That's a strange problem, but I don't really have any insights because I
haven't used Django authentication for ordinary directories. I'd
recommend going to #django on IRC or to the django-users mailing list.
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868