Connecting Tech Pros Worldwide Help | Site Map

PHP on Microsoft-IIS/6.0

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 08:40 AM
Pierre Jelenc
Guest
 
Posts: n/a
Default PHP on Microsoft-IIS/6.0


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, 08:40 AM
Andy Hassall
Guest
 
Posts: n/a
Default 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, 08:46 AM
Pierre Jelenc
Guest
 
Posts: n/a
Default 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, 08:46 AM
Andy Hassall
Guest
 
Posts: n/a
Default 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, 08:46 AM
Pierre Jelenc
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.