#10663 [Com]: Content negotiantion seems to fail when using PHP in <form action="">-field
| From: | carp_a_dieum at yahoo dot com | Date: | Sun, 24 Nov 2002 23:33:37 +0000 |
| Subject: | #10663 [Com]: Content negotiantion seems to fail when using PHP in <form action="">-field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25744@lists.php.net to get a copy of this message | ||
ID: 10663
Comment by: carp_a_dieum@yahoo.com
Reported By: lars@bahner.com
Status: Closed
Bug Type: Apache related
Operating System: Debian GNU/Linux 2.3 (woody)
PHP Version: 4.0.4pl1
New Comment:
This may have been addressed in a later post, but I'm seeing the same
thing (if I read it right) in php 4.2.3. I can link to /dir/page.html
or /dir/page and both are the same page content. The same thing
happends for .htm and .php extensions; no extension is necessary. This
leads me to believe it's something in the apache config. It must be
checking for a directory name first, if it is not a directory it runs
through the mime definitions for files.
Previous Comments:
------------------------------------------------------------------------
[2001-05-28 00:01:57] sniper@php.net
If this happens with PHP 4.0.5 please reopen.
--Jani
------------------------------------------------------------------------
[2001-05-04 08:37:51] lars@bahner.com
Specified PHP4.0.4pl5
------------------------------------------------------------------------
[2001-05-04 08:36:31] lars@bahner.com
Taking a dum example as:
<form action="<?php echo "hello" ?>" method="post">
</form>
Makes apache/netscape not being able to negotiate the content-type of
the document. The document is named /php/logs/log.php but is referred
to as /php/logs/log using content-negotiation on apache-ssl
(1.3.14.2.1+).
Referring to the document as /php/logs/log.php makes the document
tick.
Removing the PHP-code make the /php/logs/log refernce work again!
I have many (The Debian standard amount) modules installed and my
php.ini is very long. Please don't hesitate me for the details on
this.
TYMLTN
------------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10663&edit=1