title: How to make website accessible only afte password authorized
body: <p>I have a simple website which is write in static html, but I only want to share it in my small group, so I'd like to set a <strong>password</strong>, people can only  view its content after password authorized. </p>
  
  <p>I do not want to change my old files because there is too much to do. I have a simple idea that I just put a single <code>index.php</code> file in the web_root, than if authorized, anything like <code>index.php/foo/bar.html</code> be redirect to the <code>foo/bar.html</code> in another directory which is outsize the apache server root, that means inaccessible except <code>index.php</code> redirect.</p>
  
  <p>So, is it possible? How about the detail way? I am not very good at web so this question may be a little stupied, sorry for it.</p>