You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document root /var/www/html of all web apps is on NFS share /data on storage server in Stratos Datacenter. We have a requirement where we want to password protect a directory in the Apache web server document root. We want to password protect http://:<apache_port>/protected URL as per the following requirements (you can use any website-url for it like local host since there are no specific requirements as of now):
a. We want to use basic authentication
b. We do not want to use htpasswd file base authentication. Instead, we want to use PAM authentication, i.e. Basic Auth + PAM so that we can authenticate with a Linux user.
c. We already have a user james with password GyQkFRVNr3 which you need to provide access to.
d. You can access the website on the LBR Link. To do so click on the + button on the top of your terminal, select Select port to view on Host 1, and after adding port 80 click on Display port.
click + and Select Port on Host 80 link and then enter 80 port.
Then add /protected to the end of the link, authentication window will be opened.
Enter username and password.