jision / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

can't switch hosts when control_auth and mongo_auth is disabled #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.create at least to hosts in config.php and set mongo_auth and control_auth to 
false
2. go to rockmongo and try to switch hosts
3. is control_auth is true, you can switch hosts

What is the expected output? What do you see instead?
I would expect that rocjmongo connects to another host, which is selected via 
config.php. Instead you always see the first host of the hosts listed in 
config.php.

RockMongo Version (1.1.0)

Operation System (Ubuntu 10.04 LTS)

PHP Version (PHP 5.3.2-1ubuntu4.9)

php_mongo Version (mongo     1.1.4   stable)

MongoDB version (1.8.2)

apache2 2.2.14-5ubuntu8.4 

Please provide any additional information below.
I didn't test mongo_auth true, because we don't use it atm.
Also we use htaccess and HTTPS to protect access to rockmongo.

Original issue reported on code.google.com by SteffenG...@gmail.com on 21 Jul 2011 at 11:17