php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23528 redirect fails
Submitted: 2003-05-07 11:04 UTC Modified: 2003-08-07 13:38 UTC
From: ferguson at knightsweb dot net Assigned:
Status: Not a bug Package: Website problem
PHP Version: 4.3.2RC2 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ferguson at knightsweb dot net
New email:
PHP Version: OS:

 

 [2003-05-07 11:04 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-07 11:22 UTC] 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-08-07 13:38 UTC] goba@php.net
These are not dirnames. PHP.net URL shortcuts should not contain slashes at the end...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC