#24906 [Fbk->NoF]: Why can you view the page "http://bugs.php.net/report.php/"

From: Date: Wed, 06 Aug 2003 16:07:58 +0000
Subject: #24906 [Fbk->NoF]: Why can you view the page "http://bugs.php.net/report.php/"
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19856@lists.php.net to get a copy of this message
ID: 24906 Updated by: sniper@php.net Reported By: kim at showtop dot net -Status: Feedback +Status: No Feedback Bug Type: Website problem Operating System: any systems PHP Version: 4.3.2 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-08-01 14:24:18] goba@php.net The Apache server has a feature to check for files traversing back the given path, if is the exact path is not found as a file. Then the PHP file in this case can handle the URL part used after it's name. This is a commonly used technique, which has side effects like the one you have found. The images are printed into the output with relative path references, so this is why the path is not OK in this case (as the browser parses the relative path before asking the server for the file). It would be a solution for this case to fix the images to use 'site relative' path values, ie src="/gifs/..." instead of "gifs/..." ------------------------------------------------------------------------ [2003-08-01 14:15:27] pollita@php.net Are you being linked to this page from somewhere? Or did you just happen to typo it into your browser's address bar? ------------------------------------------------------------------------ [2003-08-01 11:16:47] kim at showtop dot net Description: ------------ http://bugs.php.net/report.php/ Why can you view the page "http://bugs.php.net/report.php/"? the logo images path is "http://bugs.php.net/report.php/gifs/logo-bug.gif", why? have any safety problem?The PHP BUG or the web server bug? or it ism't a bug ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24906&edit=1

« previous php.mirrors (#19856) next »