ruby on rails - HTTP Basic Authentication not working for resque-web on Heroku -


RESQUE_WEB_HTTP_BASIC_AUTH_USER And RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD to turn it on. If you are using Rescue with Heroku, set Heroku Config: Set RESQUE_WEB_HTTP_BASIC_AUTH_USER = User RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD = Secret to ResqueWeb secure. "

I did this.

  RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD: mypassword RESQUE_WEB_HTTP_BASIC_AUTH_USER: resque   

But when I visit Heroku config run I get > / Resque this works just fine;

Am I doing something wrong?

P.S. The only reason I am using basic HTTP authentication is because I am using Authlogic and the resque-Web-Authlogic combo does not seem very well supported. This is like a last resort.

Just wondering in anyone else, HTTP resque- web without installing authentication gem resque_admin.rb file (or any other name) and put the following code is the by:

  Resque :: Server.use (Rack :: Ath :: Basic) User | Password | User = "EnterUsername Here" password == "EnterPasswordHere" end   

After you set these, everything else will work in general.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -