Please refer the screen shots i have done all the steps as mentioned and also getting expected result
By starting httpd service i am seeing this protected directory messahe as expected
Please refer the screen shots i have done all the steps as mentioned and also getting expected result
By starting httpd service i am seeing this protected directory messahe as expected
From screenshots you shared above there are two possible issues,
/var/www/html
to /var/www/html/<your-protected-dir>
hence the URL you used for curl is 172.16.238.10:8080
which should be 172.16.238.10:8080/<your-protected-dir>
as its mentioned in the question not to change the default document root.