We are running a commercial software Intranet application that runs on
Windows Server 2003 and IIS 6.0. The application generates HTML file from
several various ASPX components.

We are looking for the best approach to modify/alter the generated HTML from
the application before reaching our client's browser.

I have done some research and have thought of installing IISPROXY and coding
a script to perform the alterations in the Proxy server before reaching the
clients. The alter is to put a CSS file in the header and remove the CSS
file that is repeated in the body numerous times. The application team is
working to fix the software, but we are looking at a few months before that
release.

Has anyone ever needed to perform this kind of altering a generated HTML
file and what would you recommend that we do to perform the process?

Does IIS have a built in function that we could be using?

Are there ISAPI functions that I should consider?

As you can tell, I am a bit out of my league on this stuff, so please be
understanding.
--
Andy
Consultant

Re: Looking to alter HTML in HTTP Response from IIS 6.0 by David

David
Sun Mar 16 03:14:30 CDT 2008

In general, I am against altering a generated HTTP response because it
is just bad for performance, reliability, and scalability, not to
mention correctness.

IIS has built in ability to do this modification within ISAPI Filter,
but since you say you are out of your league on the stuff, I do not
recommend it.

=46rom my pesrpective, the only thing that you are saving is bandwidth,
which is simple to quantify. And bandwidth is worth saving only at
massive traffic volumes -- and that traffic volume will notice the
performance, reliability, and scalability problems of any such HTML
altering solution that you put in.

Simply put, if you have high volume, you are trading one well known
problem, bandwidth, for a much more complicated problem, performance/
reliability/scalability. The costs may not be worth it. And if you
have low volume, then I question why you even want to change -- just
wait for the fix.

Unless there is something else you are trying to save, but you'd have
to weigh those savings against the complexity of performance/
reliability/scalability. Are you willing to debug those potential
problems due to your temporary bandaid?


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Mar 15, 5:07=A0pm, Andy804 <Andy...@discussions.microsoft.com> wrote:
> We are running a commercial software Intranet application that runs on
> Windows Server 2003 and IIS 6.0. =A0The application generates HTML file fr=
om
> several various ASPX components. =A0
>
> We are looking for the best approach to modify/alter the generated HTML fr=
om
> the application before reaching our client's browser.
>
> I have done some research and have thought of installing IISPROXY and codi=
ng
> a script to perform the alterations in the Proxy server before reaching th=
e
> clients. =A0The alter is to put a CSS file in the header and remove the CS=
S
> file that is repeated in the body numerous times. =A0The application team =
is
> working to fix the software, but we are looking at a few months before tha=
t
> release.
>
> Has anyone ever needed to perform this kind of altering a generated HTML
> file and what would you recommend that we do to perform the process? =A0
>
> Does IIS have a built in function that we could be using?
>
> Are there ISAPI functions that I should consider?
>
> As you can tell, I am a bit out of my league on this stuff, so please be
> understanding.
> --
> Andy
> Consultant


Re: Looking to alter HTML in HTTP Response from IIS 6.0 by Ken

Ken
Sun Mar 16 21:02:37 CDT 2008

I'm a bit stuck on the underlying reason you want to alter the HTML. Other
than saving bandwidth. If you are worried about bandwidth, have you
considered enabling compression? HTML compresses quite well.

Cheers
Ken

"Andy804" <Andy804@discussions.microsoft.com> wrote in message
news:B7CD88A0-4CDA-459C-B403-45C30B9EDD1C@microsoft.com...
> We are running a commercial software Intranet application that runs on
> Windows Server 2003 and IIS 6.0. The application generates HTML file from
> several various ASPX components.
>
> We are looking for the best approach to modify/alter the generated HTML
> from
> the application before reaching our client's browser.
>
> I have done some research and have thought of installing IISPROXY and
> coding
> a script to perform the alterations in the Proxy server before reaching
> the
> clients. The alter is to put a CSS file in the header and remove the CSS
> file that is repeated in the body numerous times. The application team is
> working to fix the software, but we are looking at a few months before
> that
> release.
>
> Has anyone ever needed to perform this kind of altering a generated HTML
> file and what would you recommend that we do to perform the process?
>
> Does IIS have a built in function that we could be using?
>
> Are there ISAPI functions that I should consider?
>
> As you can tell, I am a bit out of my league on this stuff, so please be
> understanding.
> --
> Andy
> Consultant