<bigwig> service: htaccess


service {
  html Welcome = <html>
    <h1>Welcome</h1>
    <hr>
    This page is visible to everyone. The next page, however, 
    is protected by a login and password through <em>htaccess</em>.
    The login <b>john</b> and password <b>orange</b> will work.
  </html>;
  
  session Access() {
    
    
    show Welcome;
    show htaccess (dir + "../.htpasswd") <html>This page is protected by <em>htaccess</em>.</html>;
    exit <html>Done. This page is not protected by <em>htaccess</em>.</html>;
  }
}