Installing AWS CLI on Debian

First install the Python package: apt-get install python python-pip Then issue the AWS CLI Installation: pip install awscli If all went ok, you should be able to execute for example aws configure which will help you to create an initial configuration file containing your credentials, region and output format. For more help type: aws help […]

Mass Virtual Hosting with mod_rewrite RewriteMap and PHP

Here is a simple possibility to control a lot of virtual hosts using a simple PHP script to map them to the right path. First of all you need to make sure that mod_rewrite is loaded: a2enmod rewrite Further we need these packages: php5-cli php5-mysql mysql-server What we're doing now is a simple Url-Rewriting to a […]