Jump to content

Recommended Posts

Posted

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.so

Description: 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

Posted

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..

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...