php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16725 "test.php.dat" also can be parsed
Submitted: 2002-04-21 22:23 UTC Modified: 2002-09-10 01:00 UTC
From: redact at 163 dot net Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.1.2 OS: windows,linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: redact at 163 dot net
New email:
PHP Version: OS:

 

 [2002-04-21 22:23 UTC] redact at 163 dot net
php version 4.1.2
"test.php.dat" content:
<?php
echo "hello world!";
?>

in apache server ,it also can be parsed
http://yourserver/test.php.dat
you can see --
hello world!

in iis server 
you can see --
<?php 
echo "hello world!";
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-22 03:49 UTC] sander@php.net
Can you send me your httpd.conf by mail? I guess it's a problem with your configuration but I'm not sure.
Alternatively, you can paste the relevant sections of it here.
 [2002-04-22 04:13 UTC] redact at 163 dot net
it has no relation to the apache server 
because under the same apache server ,
php4.0.6 is ok
but the php4.1.2 has the problem
 [2002-04-22 04:24 UTC] redact at 163 dot net
and i change nothing but the content in the httpd.conf file i added is :


ServerName myserver
Listen 80

DirectoryIndex index.html index.htm default.htm index.php index.php3 index.phtml index.jsp


DocumentRoot "e:/website"

	<Directory "e:/website">
	    Options Indexes FollowSymLinks MultiViews
	    AllowOverride All

	<Files *.inc>  
	      Order Deny,Allow  
	      Deny From All   
	      Allow from 127.0.0.1
	</Files>
	
	<Files *.ihtml>  
	      Order Deny,Allow  
	      Deny From All   
	      Allow from 127.0.0.1
	</Files>
	
	<Files *.nlx>  
	      Order Deny,Allow  
	      Deny From All   
	      Allow from 127.0.0.1
	</Files>
	
	<Files *.sql>  
	      Order Deny,Allow  
	      Deny From All   
	      Allow from 127.0.0.1
	</Files>
	
	<Files *.inf>  
	      Order Deny,Allow  
	      Deny From All   
	      Allow from 127.0.0.1
	</Files>
	
	<Limit GET POST>
#	    Options  indexes FollowSymLinks 
	    Options   FollowSymLinks
	    Order deny,allow
	    deny from all
	    Allow from all
	</Limit>
	
	</Directory>


CustomLog "|d:/apache/bin/rotatelogs d:/apache/logs/%Y_%m_%d.access.log 86400 480" common
ErrorLog  "|d:/apache/bin/rotatelogs d:/apache/logs/%Y_%m_%d.error.log 86400 480"

ScriptAlias /php412/ "d:/php4.1.2/"

Action application/x-httpd-php "/php412/php.exe" 

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
 [2002-04-22 04:32 UTC] cynic@php.net
are you sure Multiviews wasn't added? I expected this "bug" to be caused by
multiviews, and seeing it turned on seems to back my guess.

 [2002-09-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 10:01:25 2019 UTC