ruby on rails - HTTP Basic Authentication not working for resque-web on Heroku -
I did this. But when I visit 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 After you set these, everything else will work in general. 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. "
RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD: mypassword RESQUE_WEB_HTTP_BASIC_AUTH_USER: resque
Heroku config run I get > / Resque this works just fine;
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
Comments
Post a Comment