Hi,
I'm having a few problems with DBMan.
Having successfully installed DBMan and a couple of mods, I have decided to move all of my scripts from
LOCATION 1
/home/myaccount/cgi-bin/dbman
to
LOCATION 2
/home/myaccount/www/members/dbman
This is because I will be using password protection to access the scripts.
When they were in the LOCATION 1, all worked perfectly. However since moving all to LOCATION 2, keeping all permissions in tact and updating my default.cfg accordingly everything else works apart from the following URLs:
(Seems like authentication problems)
I can no longer get the correct output from such things as
http://www.mydomain/members/cgi-bin/dbman/db.cgi?signup_form=1
http://www.mydomain/members/cgi-bin/db/db.cgi?uid=default
Both URL's return a 'logged in screen' with default permissions and uid = BLANK, even when there are no user accounts set up!
default.cfg is set to:
$auth_allow_default = 0;
@auth_default_permissions = (1,0,0,0,0);
$auth_signup = 1;
This is weird because:
http://www.mydomain/members/cgi-bin/dbman/db.cgi?signup_form=1
logs in a user with uid=BLANK
@auth_signup_permissions = (1,1,0,1,0);
$auth_modify_own = 1;
I have analysed my default.cfg and it is correctly confgured for LOCATION 2.
If I move everything back even without updating my default.cfg, all goes back to normal?! (as far as the above URLs are concerned anyway!)
I'm at a bit of a loss with this one.
Can anyone suggest where I might have gone wrong.
-Gary
I'm having a few problems with DBMan.
Having successfully installed DBMan and a couple of mods, I have decided to move all of my scripts from
LOCATION 1
/home/myaccount/cgi-bin/dbman
to
LOCATION 2
/home/myaccount/www/members/dbman
This is because I will be using password protection to access the scripts.
When they were in the LOCATION 1, all worked perfectly. However since moving all to LOCATION 2, keeping all permissions in tact and updating my default.cfg accordingly everything else works apart from the following URLs:
(Seems like authentication problems)
I can no longer get the correct output from such things as
http://www.mydomain/members/cgi-bin/dbman/db.cgi?signup_form=1
http://www.mydomain/members/cgi-bin/db/db.cgi?uid=default
Both URL's return a 'logged in screen' with default permissions and uid = BLANK, even when there are no user accounts set up!
default.cfg is set to:
$auth_allow_default = 0;
@auth_default_permissions = (1,0,0,0,0);
$auth_signup = 1;
This is weird because:
http://www.mydomain/members/cgi-bin/dbman/db.cgi?signup_form=1
logs in a user with uid=BLANK
@auth_signup_permissions = (1,1,0,1,0);
$auth_modify_own = 1;
I have analysed my default.cfg and it is correctly confgured for LOCATION 2.
If I move everything back even without updating my default.cfg, all goes back to normal?! (as far as the above URLs are concerned anyway!)
I'm at a bit of a loss with this one.
Can anyone suggest where I might have gone wrong.
-Gary