Re: Re: Running php in a .html file under iis5.0

From: Date: Mon, 09 Dec 2002 06:13:25 +0000
Subject: Re: Re: Running php in a .html file under iis5.0
Groups: php.windows 
Request: Send a blank email to php-windows+get-17353@lists.php.net to get a copy of this message
Hi, If the html file is without php tags there will not be a huge performence penalty in letting the php parser handle the file. On IIS there is no control files but all the settings are handled in the metabase through the application "Internet Information Services". IIS use the file extention to figure out how a file should be handled. This is called Application Mappings. You can specify server wide, site wide or directory wide mappings, where you associate .php or .html with the php parser. You find the mappings by opening the property page and clicking on the configure button. - Frank > Well I've done that, but its Greenpeace and the site is huge. To change it > all over is not feasible for them. > > I'm trying to duplicate the setup here so I can develop it on my test boxes. > > What is the equivalent to .htaccess in IIS? > > > "Erythros" <erythros@erythros.d2g.com> wrote in message > news:20021209012918.82557.qmail@pb1.pair.com... > > try to tell them tahts a bad idea. proformance wise. why send every html > > file to the php parser if its not needed... > > > > "James Gramosli" <jg@clockworkstudios.com.au> wrote in message > > news:20021209001403.53748.qmail@pb1.pair.com... > > > Hi all, > > > I've just picked up a good client and for some reason the setup they > > > have on their web server is to run php in a .html file... > > > > > > I've found out how to do this under apache, but how do you config IIS > 5.0 > > to > > > run php in every html file? > > > > > > Any help would be greatly appreciated. > > > James > > > > > > > > > > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#17353) next »