Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password protect

Status
Not open for further replies.

Andy128

Technical User
Oct 15, 2005
13
0
0
US
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?

Thanks in advance.

Andy
 
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:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top