Mod_Python and Web.py on Ubuntu  
  
    Download
First install mod_python for Apache and then restart/reload the server.
apt-get install libapache2-mod-python
/etc/init.d/apache2 force-reload
apache2ctl restart
Next grab the web.py framework from webpy.org. You can grab the tar or use easy_in...  
  
    
      Written by Sean Behan on 06/17/2012
    
  
 
  
    Protect a Directory with Apache, .htaccess and httpasswd  
  
    Apache comes with a command line utility called "htpasswd". This utility will generate a username and password that you can use to authenticate against using a .htaccess file. Just run the utility like so:
  htpasswd -c /path/to/your/password/directory/a...  
  
    
      Written by Sean Behan on 06/17/2012