ID: 16725
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Apache related
Operating System: windows,linux
PHP Version: 4.1.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-04-22 04:13:12] [EMAIL PROTECTED]
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 03:49:05] [EMAIL PROTECTED]
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-21 22:23:17] [EMAIL PROTECTED]
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!";
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16725&edit=1