Saturday, 12 April 2014

.htaccess tip of the day

Got a website nicely protected with .htaccess authentication but want to allow open access to a single directory without interfering with it?

Me too.

So it turns out you just stick a .htaccess file in the said directory and include the following two lines.
Allow from all
Satisfy Any
Job done.

Managed to then share an animated GIF of son with sword from 2006. None of the cloud-based services allow you to share the file exactly as you'd like.

No comments:

Post a Comment