Sep 19

As much as you wish it is true, it is not. I did some googling when I need to disable the HTTP apache-logo[1]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]

written by mangoorange \\ tags: , ,


Best Wordpress Hosting Providers - 2014

All three hosts offer FREE 1-click Wordpress installs making them the best Wordpress hosting providers. For more web hosting reviews be sure to check out AlreadyHosting.com.

 #1
#2 
 #3
#1 - Bluehost 
Bluehost Review
#2 - iPage 
iPage Review
#3 - HostMetro 
HostMetro Review


One Response to “AuthType None??”

  1. 1. Sam Says:

    Ahh, thanks. I’ve been looking for a simple way to do this for ages.

Leave a Reply

You must be logged in to post a comment.