#24408 [Bgs]: misinterpretation (file as a folder/directory - without an error)

From: Date: Mon, 30 Jun 2003 17:26:37 +0000
Subject: #24408 [Bgs]: misinterpretation (file as a folder/directory - without an error)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42890@lists.php.net to get a copy of this message
ID: 24408 User updated by: theo at sponholz dot de Reported By: theo at sponholz dot de Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Linux 2.2.24-6.2.3 PHP Version: 4.3.1 New Comment: is it possible to disable this feature? THEO Previous Comments: ------------------------------------------------------------------------ [2003-06-30 12:10:54] sniper@php.net Too old PHP version, plus it's not a bug but feature.. :) ------------------------------------------------------------------------ [2003-06-30 09:40:18] theo at sponholz dot de Description: ------------ the Apache/1.3.26 with php-mod misinterprets a file as a directory for example: http://www.sponholz.de/theo.php/ (there is no dir. "/theo.php/" under "http://www.sponholz.de/", just a file "theo.php") if you type "http://www.sponholz.de/theo.php" the site will be shown correctly. if you type "http://www.sponholz.de/theo.php/" (with an ending [SLASH]), then the server shows a site without CCS and pictures. Boths are included relativ. further: you can add strings like: "http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want" instead of returning an error "http://www.sponholz.de/theo.php/" will be shown. my problem / wish: i wanna get an error, when a file or a dir./folder does not exist. by the way (i tried this @ php.net, but the php.net-server refers to google ...) thx 4 help, theo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24408&edit=1

« previous php.bugs (#42890) next »