Connecting Tech Pros Worldwide Help | Site Map

PHP on Microsoft-IIS/6.0

  #1  
Old July 17th, 2005, 09:40 AM
Pierre Jelenc
Guest
 
Posts: n/a

Is it possible to make IIS parse .html files the same way as Apache does
with AddType application/x-httpd-php .html in .htaccess?

Thanks,

Pierer
--
Pierre Jelenc | New on Home Office Records: Ethan Lipton
| www.homeofficerecords.com www.ethanlipton.com
The Gigometer | Pepper Of The Earth: the HO blog
www.gigometer.com | www.homeofficerecords.com/blog
  #2  
Old July 17th, 2005, 09:40 AM
Andy Hassall
Guest
 
Posts: n/a

re: PHP on Microsoft-IIS/6.0


On Sat, 18 Sep 2004 21:00:55 +0000 (UTC), rcpj@panix.com (Pierre Jelenc) wrote:
[color=blue]
>Is it possible to make IIS parse .html files the same way as Apache does
>with AddType application/x-httpd-php .html in .htaccess?[/color]

Just tried the obvious method - add an application mapping to the PHP ISAPI
DLL for the .html extension in the same way as for the .php extension, and it
works here.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
  #3  
Old July 17th, 2005, 09:46 AM
Pierre Jelenc
Guest
 
Posts: n/a

re: PHP on Microsoft-IIS/6.0


Andy Hassall <andy@andyh.co.uk> writes:[color=blue]
> On Sat, 18 Sep 2004 21:00:55 +0000 (UTC), rcpj@panix.com (Pierre Jelenc) wrote:
>[color=green]
> >Is it possible to make IIS parse .html files the same way as Apache does
> >with AddType application/x-httpd-php .html in .htaccess?[/color]
>
> Just tried the obvious method - add an application mapping to the PHP ISAPI
> DLL for the .html extension in the same way as for the .php extension, and it
> works here.[/color]

Hmm, not obvious to me! I've never used Windows, and the system is a
commercial NT-based host, where I only have access to my client's
directory tree.

Pierre
--
Pierre Jelenc | New on Home Office Records: Ethan Lipton
| www.homeofficerecords.com www.ethanlipton.com
The Gigometer | Pepper Of The Earth: the HO blog
www.gigometer.com | www.homeofficerecords.com/blog
  #4  
Old July 17th, 2005, 09:46 AM
Andy Hassall
Guest
 
Posts: n/a

re: PHP on Microsoft-IIS/6.0


On Tue, 21 Sep 2004 00:26:53 +0000 (UTC), rcpj@panix.com (Pierre Jelenc) wrote:
[color=blue]
>Andy Hassall <andy@andyh.co.uk> writes:[color=green]
>> On Sat, 18 Sep 2004 21:00:55 +0000 (UTC), rcpj@panix.com (Pierre Jelenc) wrote:
>>[color=darkred]
>> >Is it possible to make IIS parse .html files the same way as Apache does
>> >with AddType application/x-httpd-php .html in .htaccess?[/color]
>>
>> Just tried the obvious method - add an application mapping to the PHP ISAPI
>> DLL for the .html extension in the same way as for the .php extension, and it
>> works here.[/color]
>
>Hmm, not obvious to me! I've never used Windows, and the system is a
>commercial NT-based host,[/color]

Windows 2003 presumably, since it's IIS 6.
[color=blue]
>where I only have access to my client's directory tree.[/color]

What sort of access? This needs to be done from the Internet Information
Services Manager; can't be done with just filesystem access (IIS doesn't do
..htaccess files for directory-level configuration within the filesystem like
Apache).

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
  #5  
Old July 17th, 2005, 09:46 AM
Pierre Jelenc
Guest
 
Posts: n/a

re: PHP on Microsoft-IIS/6.0


Andy Hassall <andy@andyh.co.uk> writes:[color=blue]
>
> What sort of access? This needs to be done from the Internet Information
> Services Manager; can't be done with just filesystem access (IIS doesn't do
> .htaccess files for directory-level configuration within the filesystem like
> Apache).[/color]

Just filesystem I'm afraid. It looks like the site will have to be all
..php files. I think they can live with it.

Thanks,

Pierre
--
Pierre Jelenc | New on Home Office Records: Ethan Lipton
| www.homeofficerecords.com www.ethanlipton.com
The Gigometer | Pepper Of The Earth: the HO blog
www.gigometer.com | www.homeofficerecords.com/blog
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Module of PHP on WindowsXP php-newbe answers 3 August 25th, 2006 06:35 AM
Apache 2.0, php 5 and mysql + win xp genenamg@yahoo.com answers 3 July 27th, 2006 10:05 PM
Who is using PHP today? Nate Baxley answers 34 May 12th, 2006 11:15 PM
IMAP support for PHP on Windows William Holroyd answers 1 July 17th, 2005 06:11 AM
Compiling PHP on Win2K... Mangina answers 1 July 17th, 2005 04:30 AM