modified based on drupal-example at openshift repo. Tweaked to make it working with apache 2.4 by modifying .htaccess syntax