I am very new to Apache and web servers in general. I am trying to produce a site that has multiple services. Is there a way to password protect access to certain pages?
Unless you want to add code to each page that will do the authentication, you can place these pages in a specific directory and use directives in the directory container or .htaccess to pop up a window which will prompt the visitor to that directory for a user name and password. It is not very hard to setup but to save a lot of typing here, please have a look at this and then if you have specific questions or this is not what you are looking for, let us know. Here is the link:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.