Wrong:
error_page 404 =/404.html;
Above setting will return a 302 code to browser and search spider which is wrong.
Right setting:
error_page 404 /404.html;
Wrong:
error_page 404 =/404.html;
Above setting will return a 302 code to browser and search spider which is wrong.
Right setting:
error_page 404 /404.html;
There are several ways to do this:
The easiest way is to use powershell command:
get-acl \SOURCE/FOLDER | set-acl \TARGETFOLDER
You can also use iCACLS to backup the permission to a file and restore it.
#backup icacls d:data /save ntfsperms.txt #restore icacls d: /restore ntfsperms.txt
Note: icacls doesn’t support restore drive root permission