Removing .htaccess Authentication Restrictions

Posted by Benjamin Close on November 8, 2008 under Computers, OpenSource | Read the First Comment

Removing .htaccess Authentication Restrictions

Have you ever found yourself needing to remove authentication from part of a website? This actually happens fairly regularly. The way you do it is as follows:


AuthType none
Satisfy Any

The AuthType none directive indicates apache should not prompt for a password, whilst the Satisfy Any directive tells apache that is can now use other methods to authenticate the user. You may also have to add:

Order Deny, Allow
Allow from All

Which tells apache everyone is allowed to access the page.

Donations keep this site alive

Add A Comment