MongoDB: fixed not starting error

Just use these:

sudo -u mongodb mongod --repair --dbpath /var/lib/mongodb/
sudo service mongodb start

Of course change dbpath to your dbpath, this one is default.

Basic Auth .htaccess 101

All these are working on Ubuntu 13.04

1. Check if apache modules are loaded:

on ubuntu this one works find:
apache2ctl -M

 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
not all required, but my config is loading these now. auth_... and authn_... are realy required for my example, but i don't know which of those authz are required..