Forum Moderators: coopster

Message Too Old, No Replies

Parsing PHP into an .HTML file on a Windows Server

Is this possible?

         

stuntdubl

10:42 pm on Oct 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a new client who is setup on a windows server which I don't normally work with. All of her 700+ pages are static .html files, and I'd like to be able to put some php code into them. I'm wondering if there is a nice quick workaround here like: AddType text/x-server-parsed-html .html .htm

coopster

2:45 am on Oct 25, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Windows server...you mean running IIS, or Apache on a Windows server?

stuntdubl

3:18 am on Oct 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oops...sorry for the lack of clarification...

IIS 5.0

stuntdubl

11:09 pm on Oct 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



*kick*
anyone ideas?

coopster

1:27 am on Oct 26, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The manual tells how to get PHP setup to parse pages, I would imagine you could set the .html to always be parsed by PHP. A lot of folks do this in Apache, should work in IIS. Microsoft IIS / PWS [php.net]

Otherwise, are either of these threads helpful?

ISAPI with PHP on IIS [webmasterworld.com]
Move from php to aspx how to make sure still listed in search engines [webmasterworld.com]

Anybody else...?