Bug #18582 Updated: Default page download, not shown

From: Date: Fri, 26 Jul 2002 14:05:02 +0000
Subject: Bug #18582 Updated: Default page download, not shown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15340@lists.php.net to get a copy of this message
ID: 18582 Updated by: ctenedor@yahoo.com Reported By: ctenedor@yahoo.com -Status: Feedback +Status: Open Bug Type: Apache related Operating System: freebsd PHP Version: 4.2.2 New Comment: './configure' '--with-mysql' '--with-imap' '--with-xml' '--enable-dbase' '--enable-sockets' '--enable-safe-mode' '--with-apxs=/usr/local/apache/bin/apxs' '--with-gd=/usr/local/' '--with-jpeg-dir=/usr/local/' '--with-png-dir=/usr/local/' '--with-zlib-dir=/usr/local/' Apache/1.3.22 PHP as module The site was working ok, we were using urls like 'directory/' and no 'directory/index.xxx' (php, htm,html), and it worked ok, including the connections using the internet providers that now show the error. Now, when updated 4.2.2, 'directory/ like' links doesn't work and sometimes show crucial information, as confs path's, and the script code. Please explain how using .htaccess can fix it, in apache.conf I'm using <IfModule mod_dir.c> DirectoryIndex index.php index.html default.htm default.php default.html index.htm </IfModule> If I use .htaccess it means that I will have to create a .htaccess for every directory of my site? Using .htaccess is common for me, but for tasks as restricting access or hidden some files. Previous Comments: ------------------------------------------------------------------------ [2002-07-26 06:19:59] sniper@php.net Apache version? configure line for PHP ? PHP as module/cgi? ------------------------------------------------------------------------ [2002-07-25 23:35:26] rverlander@php.net Umm well I'd **think** that thats a problem with thier browsers, have you tried adding: DirectoryIndex index.php index.html index.htm To .htaccess. ------------------------------------------------------------------------ [2002-07-25 22:54:02] ctenedor@yahoo.com Recently updated cause the vulnerability, I'm using PHP 4.2.2. In certain conditions (with some internet providers) when someone try to access the root of a directory (for example, www.myserver.com/pages/) and the default document is index.php, instead of execute script and show the result, appears the browser's download dialog, in explorer 5.x,, 6.x, Mozilla 1.x and Netscape 4.x, and part or complete script is downloaded when clicking "OK". Using another connection of a different provider, the page shows ok. In both cases (different providers), using /pages/index.php is ok, and works normal. I don't upgrade or modify apache, or apache conf. I'm using my old php ini (upgraded from 4.1.? to 4.2.2), the same configure line, etc. The page is www.mimorelia.com/foros/ . If you type instead www.mimorelia.com/foros/index.php, the page shows normal. I insist, some internet providers shows ok, others no, maybe using proxys or nat for provide internet. (cable providers) Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18582&edit=1

« previous php.bugs (#15340) next »