Directory Restricted Access and .htaccess file
I am hosted on Linux OS (Apache and LiteSpeed web services).
DirectAdmin is the management interface for setting up my websites.
I asked to password protect access to a specific directory for web access and indeed it works. I also asked to be able to customize website error code output and was told to edit .htaccess file.
End result, I was told by tech support the followings:
"It seems the password protection rules and customizing 401 error codes don't work together.
...see how to get both the functions working together... customizing the .htaccess rules..."
This is what is used (retreaved from DirectAdmin system info):
and from the website, when I simulate an error: "Powered By LiteSpeed Web Server"
Can someone please help me?