bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 164 forks source link

Authenticating against a single database #91

Closed kdauzickas closed 11 years ago

kdauzickas commented 11 years ago

Reproduce: add server in form username:password@domain.com/database

Expected behavior: after clicking on the server I see only the database the user was authenticated against or I get get to see the servers collections

What happens: 404 happens

bobthecow commented 11 years ago

Genghis doesn't (always?) support authenticating against a single database. See #69 and #74 ... It's my highest priority for the next release, so I hope to have a fix soon.

bobthecow commented 11 years ago

Check the just-released v2.3.0… It should fix all problems when authenticating against a single db.

kdauzickas commented 11 years ago

Sorry, no. The bug is still there. It's with the php backend.

bobthecow commented 11 years ago

Ahh. I bet you're using Apache?

See #62 and https://github.com/bobthecow/genghis/wiki#apache-configuration for a fix.

kdauzickas commented 11 years ago

Yup, this was it. Thanks

bobthecow commented 11 years ago

Awesome!

I'm looking for a better long-term solution, but in the interim I should prolly document that fix a bit more as well.