I have spent a long time researching this and have been reading various posts here (using the search engine of course) and have been reading on www.apache.org.
I cannot seem to solve this problem.
K, I am trying to make it so each individual's directory will require a user authentication for them to access their /public_html/ directory. Here is the last little bit I have on my /etc/httpd/conf/httpd.conf file
the file owner in this example is testapache
When I try to access the webpace of mydomain.com/~testapache
and type in user name of testapache, with testapache's password
it doesn't accept it and gives me a 401 authorization required error after 3 attempts.
Yet when I make 1 simple change of Require file-owner to:
Require user testapache
it will accept testapache with testapache's password.
Do I just create one of these for every single directory with the Require user command or is there a way for me to authenticate it with a specific owner.
I am using Apache 2.0.40