bongi Posted June 22, 2012 Posted June 22, 2012 im running asp.net page using mod_mono on johnny server. httpCompression in web.config does not seems to work and also gzip or deflate in code behind return a failure:for this line : response.Filter = new GZipStream(context.Response.Filter, CompressionMode.Compress); libMonoPosixHelper.soDescription: HTTP 500. Error processing request.Stack Trace: System.DllNotFoundException: libMonoPosixHelper.so at (wrapper managed-to-native) System.IO.Compression.DeflateStream:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStream/UnmanagedReadOrWrite,intptr) at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,System.IO.Compression.CompressionMode,bool,bool) at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream, CompressionMode mode, Boolean leaveOpen) [0x00000] in <filename unknown>:0 at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream, CompressionMode mode) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.Compression.GZipStream:.ctor (System.IO.Stream,System.IO.Compression.CompressionMode) at ASP_bongi._Default.doCompression () [0x00000] in <filename unknown>:0 at ASP_bongi._Default.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 at System.Web.UI.Page.RenderPage () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 does somebody have any idea if this can be fixed or there is another wayy for using gzip in this configuration.? thanks,bongi
anush Posted June 23, 2012 Posted June 23, 2012 I dont know compression with ASP , but here is a brief description about compression with PHP and Zlib http://techstream.or...mpress-web-Page dont worry its not spam , its my website.
bongi Posted June 23, 2012 Author Posted June 23, 2012 Thanks,i tried to add these lines from your example to my .htaccess file without success.i think the server does not support compression or i need to use other method..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now