Bug #17284 Updated: "dk.php.net/mail" gives unexpected results.

From: Date: Fri, 07 Jun 2002 21:36:57 +0000
Subject: Bug #17284 Updated: "dk.php.net/mail" gives unexpected results.
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10738@lists.php.net to get a copy of this message
ID: 17284 Updated by: philip@php.net Reported By: tais.hansen@osd.dk Status: Open Bug Type: Website problem Operating System: Debian/GNU PHP Version: 4.0.3pl1 New Comment: Jim fixed this, except dk.php.net/mail still goes to an "odd" place as it appears dk.php.net/ has a mail/ directory with information regarding the dk mailing lists. How about: a) Remove mail directory off dk.php.net b) Update docs at: mailing-lists.php for dk lists Previous Comments: ------------------------------------------------------------------------ [2002-06-05 08:34:49] goba@php.net The number of "REDIRECT" parts in the variable name depends on how many redirects were in account to run that PHP script. It seems that on many servers, there are two redirects involved [don't know how ;)]... So it should not be a replace, but a test if that variable contains a useable value IMHO. ------------------------------------------------------------------------ [2002-06-05 06:43:37] toni.viemero@iki.fi I fiddled around with phpinfo() in ErrorDocument. It seems like $REDIRECT_REDIRECT_ERROR_NOTES, which error/index.php uses, doesn't exists. By looking at Apache documents, $REDIRECT_ERROR_NOTES is the Right Way(tm) to do this. 's/REDIRECT_REDIRECT_ERROR_NOTES/REDIRECT_ERROR_NOTES' in phpweb/error/index.php should fix this problem. I tested in fi.php.net by doing this and error/index.php is working now as expected. ------------------------------------------------------------------------ [2002-05-30 20:05:53] trond@nordheim.no I experienced the same thing yesterday myself. I was reading through the manual lookup functions and errors/index.php without really finding the issue intil I just echoed the URL errors/index.php was about to redirect to, just to see what it tried to do... Then I was it was redirecting to http://php.brainpeddlers.com/search.php?blablabla. Just to be on the safe side I changed the ServerName on that virtualhost from php.brainpeddlers.com to no2.php.net, and then it worked. Makes sense, really. php.selfdestruct.net isn't in the phpweb list of mirrors (am.php.net is), so the check for weither or not your mirror has searching enabled will then return false... and it will use www.php.net instead. Try changing the ServerName to the actual mirror name, and see if it helps. :) ------------------------------------------------------------------------ [2002-05-30 19:22:27] toni.viemero@iki.fi I did a identical copy of fi.php.net to another machine. When I change the ErrorDocument directive to /error/index.php http://php.selfdestruct.net/mail ends up in www.php.net whole site search. When I change the ErrorDocument directive to /error/ http://php.selfdestruct.net/mail ends up in manual/en/ref.mail.php In fi.php.net both ErrorDocument directives ends up in www.php.net whole site search. fi.php.net running Debian GNU/Linux woody, PHP version 4.2.1 php.selfdestruct.net running Debian GNU/Linux woody, PHP version 4.1.2 ------------------------------------------------------------------------ [2002-05-30 17:04:48] tais.hansen@osd.dk Yeah. se.php.net is even worse. Nothing turns up on echo and mail. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17284 -- Edit this bug report at http://bugs.php.net/?id=17284&edit=1

« previous php.mirrors (#10738) next »