[colug-432] AD auth for apache web page

Rick Hornsby richardjhornsby at gmail.com
Mon Oct 3 09:24:11 EDT 2016



> On Oct 3, 2016, at 08:06, Brian Miller <bnmille at gmail.com> wrote:
> 
> 
> # use .htaccess files for overriding
> AccessFileName .htaccess
> # and never show them
> <Files ~ "^\.ht">
>    Order allow,deny
>    Deny from all
> </Files>

Just a quick note on this - make sure to check the docs for your version of Apache. Recent(?) versions have changed the allow/deny syntax. The details are hazy, but it's not allow/deny anymore, it's "require" something.

It confused me greatly why Apache was complaining about allow/deny when I knew I had it written correctly -- for an older version it turns out.


More information about the colug-432 mailing list