|
Sep
19
|
As much as you wish it is true, it is not. I did some googling when I need to disable the HTTP authentication on one directory from the rest of the directories.
Usually you will have one configuration for all similar directories (i.e. /home/*/public_html) that enable the HTTP authentication. Now, you want only one of the directories (i.e. /home/mickeyckm/public_html) to be open to the public.
So all you need to do is to makesure the single directory configuration doesn't have any Auth*** entries and add in "Satisfy Any" and "AllowOverride All" to the configuration as highlighted below.
Below is a sample of the Apache configuration file:
<Directory /home/*/public_html>
Options +Indexes
AuthName "****"
AuthType Basic
AuthUserFile /****/****/****/passwords
Require mickeyckm **** **** **** ****
PythonPath "['/****/****/****/****']+sys.path"
AddHandler mod_python .psp
PythonHandler mod_python.psp
PythonDebug On
AllowOverride All
PythonInterpPerDirectory On
PythonAutoReload On
</Directory>
<Directory /home/mickeyckm/public_html>
Options +Indexes
PythonPath "['/****/****/****/****']+sys.path"
AddHandler mod_python .psp
PythonHandler mod_python.psp
PythonDebug On
PythonAutoReload On
PythonInterpPerDirectory On
Satisfy Any
Allow from All
AllowOverride All
</Directory>
[Image taken from here]
One Response to “AuthType None??”
Leave a Reply
You must be logged in to post a comment.



April 28th, 2009 at 4:31 pm
Ahh, thanks. I’ve been looking for a simple way to do this for ages.