Hi List!
I've modified the "common.lib.php3" library in order to "guess" what should be the value of "$cfgPmaAbsoluteUri" in case the user didn't complete it. But I'm not sure it's a so nice stuff, since it depends on some variables send by the server! Then if the server is not well configured or do not fit CGI/1.1 specifications we may face "bugs" that would be harder to find because it's easier to see that "$cfgPmaAbsoluteUri" is empty than it was "automagically" set with a wrong value.
That's why I require both you testings (with different servers) and your opinions about this stuff.
Thanks in advance, Loïc
______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
Loïc,
if we can have problems with this guess, why not take another approach: a big red warning that $cfgPmaAbsoluteUri is empty, and die there?
Marc
"Loïc" a écrit :
Hi List!
I've modified the "common.lib.php3" library in order to "guess" what should be the value of "$cfgPmaAbsoluteUri" in case the user didn't complete it. But I'm not sure it's a so nice stuff, since it depends on some variables send by the server! Then if the server is not well configured or do not fit CGI/1.1 specifications we may face "bugs" that would be harder to find because it's easier to see that "$cfgPmaAbsoluteUri" is empty than it was "automagically" set with a wrong value.
That's why I require both you testings (with different servers) and your opinions about this stuff.
Thanks in advance, Loïc
On Wed, Feb 27, 2002 at 09:42:26AM -0500, Marc Delisle wrote:
if we can have problems with this guess, why not take another approach: a big red warning that $cfgPmaAbsoluteUri is empty, and die there?
that's ugly but it will work everywhere :-) BTW, I never ever set the $cfgPmaAbsoluteUri anywhere yet, and it's still working in every case... With current version it's adding a ":80" or ":443" to the url, but it still work.
regards, Olivier
On Wed, Feb 27, 2002 at 08:13:52AM +0000, Loïc wrote:
Hi List!
I've modified the "common.lib.php3" library in order to "guess" what should be the value of "$cfgPmaAbsoluteUri" in case the user didn't complete it. But I'm not sure it's a so nice stuff, since it depends on some variables send by the server! Then if the server is not well configured or do not fit CGI/1.1 specifications we may face "bugs" that would be harder to find because it's easier to see that "$cfgPmaAbsoluteUri" is empty than it was "automagically" set with a wrong value.
That's why I require both you testings (with different servers) and your opinions about this stuff.
Hi,
personally I think it really sucks. We develop Web-Applications for a lot of customers, who run on a lot of different servers. Having to set $cfgPmaAbsoluteUri is really annoying, for the PMA-files move from time to time :-( I don't like the duty to specify it.