PHP on Microsoft-IIS/6.0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pierre Jelenc

    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
  • Andy Hassall

    #2
    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.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • Pierre Jelenc

      #3
      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

      Comment

      • Andy Hassall

        #4
        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.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

        Comment

        • Pierre Jelenc

          #5
          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

          Comment

          Working...