Apache: Protect a folder by a password, but one file is for public access


let us assume you want to protect a whole directory by password and but one file must be readable for public access. This can easily be done by a .htaccess file.

For example: Who want to trotect the folder /var/www/html and only the file public.html should be readable without a password.
More »

Advertisment to support michlstechblog.info

Original Theme by Schiy · Powered by WordPress