[htaccess] Require valid user for all pages but one

Not sure how to do this :confused:

Just need to require a valid user for every page - Iā€™m also using RewriteConds - so welcome.php is actually /welcome/

AuthName ā€œAuthentication Requiredā€
AuthType Basic
AuthGroupFile /dev/null
AuthUserFile /some/folder/oi/oi/nom/nom/nom/.htpasswd
require valid-use

What I have so far.

Iā€™ve also set welcome.php as my DirectoryIndex (thatā€™s the page I want to be free from authentication (/welcome/)).

Thanks :slight_smile: