#23528 [Opn->Bgs]: redirect fails

From: Date: Thu, 07 Aug 2003 18:38:40 +0000
Subject: #23528 [Opn->Bgs]: redirect fails
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19968@lists.php.net to get a copy of this message
ID: 23528 Updated by: goba@php.net Reported By: ferguson at knightsweb dot net -Status: Open +Status: Bogus Bug Type: Website problem PHP Version: 4.3.2RC2 New Comment: These are not dirnames. PHP.net URL shortcuts should not contain slashes at the end... Previous Comments: ------------------------------------------------------------------------ [2003-05-07 11:22:33] goba@php.net Well, dochowto is not a dir there, and there is no dochowto.php. All the 404 requests go though our custom error handling code (which allows things such as php.net/whatisphp and the like :). Anyway, it is a good question, whether we should allow these to be used as dirnames for those, who tend to add slash at the end of 'dirname' looking URLs. Probably ;) Any comments from others? ------------------------------------------------------------------------ [2003-05-07 11:04:46] ferguson at knightsweb dot net When visiting http://php.net/dochowto it gracefully redirects me to http://www.php.net/manual/howto/index.html. However when i go to http://php.net/dochowto/ it gives me a page not found error. I also get a page not found error if i go to http://php.net/dochowto.php, so i should be able to place a / on the end of the dir name. I normally place a / on the end of urls to speed up the request. I would normally take a look at other cases like this one, but it is the only time it has happened to me. It may have to do with an apache config problem...? Brendan ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23528&edit=1

« previous php.mirrors (#19968) next »