1. When I click the "Logout" link, I'm taken to the phpGedView page rather than where I might expect, like my own site's login page. Is there a config var I forgot to set to take logout requests back to the hosting site?
2. I had to reboot my host server, and forgot to restart MySQL. When I logged into phpGedView, it took me to the editconfig.php page without any sort of authorization. Is there a way to "failsafe" this so requests are redirected to a safe page?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I saw a thread recently about adding a trailing slash to the $HOME_SITE_URL varaible... or something like that.
That variable is what needs to be set to fix #1 - its in the index/yourgedfile_conf.php (or it can be set in the Admin -> Configure Gedcoms -> Edit (yourged)
however the trailing "/" fix (included in 2.65b3) isn't great if you're redirecting to a html or php file (instead of a root web directory)... any non-specific links from that referenced page now fail. (i.e. you'll be pointed at soemthing like http://website.com/webpage.html/link.html\)
Jason
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Regarding #2: I cannot require authentication if the database is down because the user data is stored in the database so there is nothing to authenticate against.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Two quick questions:
1. When I click the "Logout" link, I'm taken to the phpGedView page rather than where I might expect, like my own site's login page. Is there a config var I forgot to set to take logout requests back to the hosting site?
2. I had to reboot my host server, and forgot to restart MySQL. When I logged into phpGedView, it took me to the editconfig.php page without any sort of authorization. Is there a way to "failsafe" this so requests are redirected to a safe page?
To 1:
Are you using REQUIRE_AUTHENTICATION for every visitor?
Yes, I am requiring authentication for all users.
I saw a thread recently about adding a trailing slash to the $HOME_SITE_URL varaible... or something like that.
That variable is what needs to be set to fix #1 - its in the index/yourgedfile_conf.php (or it can be set in the Admin -> Configure Gedcoms -> Edit (yourged)
however the trailing "/" fix (included in 2.65b3) isn't great if you're redirecting to a html or php file (instead of a root web directory)... any non-specific links from that referenced page now fail. (i.e. you'll be pointed at soemthing like http://website.com/webpage.html/link.html\)
Jason
Regarding #2: I cannot require authentication if the database is down because the user data is stored in the database so there is nothing to authenticate against.
--John