I would like to redirect to https and add this code to a .htaccess file for Drupal. Where should I place this file?
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www.domainname\.com*
RewriteRule ^(.*)$ https://domainname.com/$1 [L,R=301]
on https://developers.openshift.com/faq/troubleshooting.html#_how_do_i_redirect_traffic_to_https it says web root.
UPDATE:
Found one .htaccess file in (see attached screenshot) app-root/data/downloads/drupal-7.43