Hi,
i did the setup of flatcompression on IIS 4.0 on windows NT4.0.
The filter seems to work well for css or html file but not for asp pages.
in my error log i can see
Warning No context available! on line 451 and 974.
I would like to make it work for my dynamic pages written in ASP.
Help please,
regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked a simple asp-file on my Win2K server / IIS5, and it works as intended.
Therefor, I suspect its because of the IIS4. Right now, I have none installed, so I cannot easily verify/debug this feature.
Some suggestions:
- try a simple asp file. For the filter, it should not make a difference whether its static or dynamic. Is the asp file sent to the client or is it broken? Is compressed or is it not compressed?
- the flatcompression info page is special, since it writes directly to the client and then hangs up. Can it be that the message is produced each time you look up the info page?
It would be important for me if you could check whether its the status page or all asp-file or just special ones. Please let me know whether you can drill down the warning. I will check this our for myself, but it might take a while.
Yours,
Uli Margull
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem of ASP pages not being compressed. I found that if i enabled buffering either at the page layer or application layer then the compression worked. To turn on asp page buffering rightclick on the website in the iis manager, then goto Home Directory, click on Configuration, then Options, and check in Enable Buffering.... OR set it on each asp page with Respose.buffer = true
my php pages still were not being compressed, but i use used php's built in compression by putting <?php ob_start( 'ob_gzhandler' ); ?> at the top of my include page
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i did the setup of flatcompression on IIS 4.0 on windows NT4.0.
The filter seems to work well for css or html file but not for asp pages.
in my error log i can see
Warning No context available! on line 451 and 974.
I would like to make it work for my dynamic pages written in ASP.
Help please,
regards
Hi Jonathan,
I checked a simple asp-file on my Win2K server / IIS5, and it works as intended.
Therefor, I suspect its because of the IIS4. Right now, I have none installed, so I cannot easily verify/debug this feature.
Some suggestions:
- try a simple asp file. For the filter, it should not make a difference whether its static or dynamic. Is the asp file sent to the client or is it broken? Is compressed or is it not compressed?
- the flatcompression info page is special, since it writes directly to the client and then hangs up. Can it be that the message is produced each time you look up the info page?
It would be important for me if you could check whether its the status page or all asp-file or just special ones. Please let me know whether you can drill down the warning. I will check this our for myself, but it might take a while.
Yours,
Uli Margull
I had the same problem of ASP pages not being compressed. I found that if i enabled buffering either at the page layer or application layer then the compression worked. To turn on asp page buffering rightclick on the website in the iis manager, then goto Home Directory, click on Configuration, then Options, and check in Enable Buffering.... OR set it on each asp page with Respose.buffer = true
my php pages still were not being compressed, but i use used php's built in compression by putting <?php ob_start( 'ob_gzhandler' ); ?> at the top of my include page