www

Apache webserver

# list loaded modules
/usr/sbin/apache2ctl -M

# list avaiable modules
apachectl -t -D DUMP_MODULES

# check config
apache2ctl -S

a2dismod status - disable module

apachectl -V

# enable default SSL site
a2ensite default-ssl

# disable default SSL site
a2dissite default-ssl

htaccess
http://www.panticz.de/apache-htaccess

Enable mod_rewrite module
sudo a2enmod rewrite

cat < /etc/apache2/conf-available/allow-override.conf

AllowOverride all

EOF

a2enconf allow-override