#19634 [Opn]: Mapping of .html and .htm files fails
| From: | kimihia@php.net | Date: | Sun, 01 Dec 2002 02:53:07 +0000 |
| Subject: | #19634 [Opn]: Mapping of .html and .htm files fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26269@lists.php.net to get a copy of this message | ||
ID: 19634
Updated by: kimihia@php.net
Reported By: chris@owta.net
Status: Open
Bug Type: IIS related
Operating System: Windows 2k SP3
PHP Version: 4.2.3
New Comment:
Is this an IIS problem or a PHP problem?
Previous Comments:
------------------------------------------------------------------------
[2002-09-27 07:41:44] chris@owta.net
"It is a virtual directory that the
file extensions are being mapped to"
should read "Website" not virtual directory, that the file extension is
being mapped to (rather than it being global accross all websites)
------------------------------------------------------------------------
[2002-09-27 07:40:06] chris@owta.net
This is with IIS 5 on windows 2000. It is a virtual directory that the
file extensions are being mapped to. The setup version of PHP was the
setup.exe file.
For this website I went to the properties->home
directory->configuration->app mappings and added a new .html mapping to
php.exe in my php directory.
Php is installed at c:\php
In my php.ini file i have aside from the default settings:
cgi.force_redirect = 0
extension_dir = C:/PHP/extensions
display_errors = Off
error_log = syslog
extension=php_mssql.dll
------------------------------------------------------------------------
[2002-09-27 06:44:05] cynic@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-09-27 06:35:13] chris@owta.net
Mapping .html and .htm files to the php.exe file in 4.2.3 returns "The
directory name is invalid" when trying to run a .html file.
.html and .htm have been mapped to ASP and work correctly, it is with
this latest version of PHP that this error occurs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19634&edit=1