Password protected directory to add ErrorDocument 401

Version 1.49


When password protection is enabled on a Directory in the File Manger, DA will now also add: ErrorDocument 401 "Unauthorized Access" if no other: ErrorDocument 401 lines exist. When protection is disabled, DA will not remove the line, in case something else was specified. Note DA expects a space after ErrorDocument, so if a tab is used before the 401, DA won't see the entry and duplicate could be added.

Interested to try DirectAdmin? Get a 30-day Free Trial!