Description of problem: Forum ref: https://www.openshift.com/forums/openshift/htpasswd-prompt-not-appearing#comment-29974 User write-up: -------------- I have the .htaccess and .htpasswd files setup, but the prompt for authenticating a user is not appearing. There is no error message. The website that I am trying to protect appears properly, though. Here's what I have: [****-****.rhcloud.com wsgi]\> ls -al total 32 drwxr-xr-x. 4 *********** *********** 4096 May 7 23:56 . drwxr-x---. 6 *********** *********** 4096 May 7 23:54 .. -rw-r--r--. 1 *********** *********** 685 May 6 20:28 application -rw-r--r--. 1 *********** *********** 665 May 6 20:29 applicationc -rw-r--r--. 1 *********** *********** 155 May 8 00:06 .htaccess -rw-r--r--. 1 *********** *********** 18 May 7 23:13 .htpasswd drwxr-xr-x. 4 *********** *********** 4096 May 7 23:56 helloworld drwxr-xr-x. 2 *********** *********** 4096 May 6 20:28 static [****-****.rhcloud.com wsgi]\> [****-****.rhcloud.com wsgi]\> cat .htaccess AuthUserFile /var/lib/openshift/************/app-root/runtime/repo/wsgi/.htpasswd AuthType Basic AuthName "restricted area" require valid-user [****-****.rhcloud.com wsgi]\> [****-****.rhcloud.com wsgi]\> cat .htpasswd *****:evwvyzyD3Tv4k [****-****.rhcloud.com wsgi]\> pwd /var/lib/openshift/************/app-root/runtime/repo/wsgi I am using the Python 2.7 cartridge with MySQL 5.1 Note: This feature is not working for couple of users and I personally couldn't get it working. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
We don't use apache as the webserver for python-2.7 and so this feature isn't supported today. If at a later point in time, we move to apache for 2.7, it will be supported.