Menu

#8 POST method failing

open
nobody
None
4
2004-10-11
2003-03-14
No

Peregrine Systems)which dynamically creates jsp files
to provide a web view for a WAN application.

However the main form used for this is very heavy (
almost 430KB) so we have tried to use compression.
However POST requests do not work, in the log a
message comes - SEND AS IS.

Our configurations is
HP UX 11.0
Apache 1.0
NewAtlanta Servlet Exec( Servlet engine)
Mod-Gzip 1.3.26.1a

The Mid-tier and the Application are on the same HP
server . The clients use Internet Explorer 6.x .

Could you give us a way to make the POST methods
compressed too.

The release notes mention this being fixed but it says
the pages are just not compressed.

Thanks in advance
Surojit

Discussion

  • Michael Schröpl

    • priority: 5 --> 4
     
  • Michael Schröpl

    Logged In: YES
    user_id=211909

    mod_gzip 1.3.26.1a does handle POST requests if you
    configure it appropriately.
    Therefore I like to see your configuration section for
    mod_gzip to find out more about your problem.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    thanks for the response, i had pretty much given up hope
    from here.

    Do you mean the changes in the httpd.conf file ??

    I could send you the file .

    regds
    Surojit

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,
    I apologize if I am sounding rather ignorant on the subject. I
    inherited this from a colleague and have not gone into this
    too much. I will go through your site and get back to you
    soon after being a little more sure of my facts.

    On taking a quick glance this is what I found:
    The line "mod_gzip_handle_methods GET POST" was not
    in the httpd.conf file.

    I will implement it and try. The mod_gzip entries in the conf
    file are listed below.
    =========================
    <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_can_negotiate Yes
    AddEncoding gzip .gz
    mod_gzip_keep_workfiles No
    mod_gzip_minimum_file_size 1
    mod_gzip_maximum_file_size 500000
    mod_gzip_maximum_inmem_size 60000
    mod_gzip_min_http 1000
    mod_gzip_item_include file .jsp
    mod_gzip_item_exclude file .GIF
    mod_gzip_item_exclude file .gif
    </IfModule>
    </Directory>
    ====================
    regds
    Surojit

     
  • Michael Schröpl

    Logged In: YES
    user_id=211909

    > On taking a quick glance this is what I found:
    > The line "mod_gzip_handle_methods GET POST"
    > was not in the httpd.conf file.
    > I will implement it and try.

    Good idea.

    > mod_gzip_can_negotiate Yes

    Are you making use of this feature (serving statically
    precompressed files)?
    Otherwise you only create load on your CPU.

    > mod_gzip_minimum_file_size 1

    I would suggest a value a little higher, about 300-1000 bytes.

    > mod_gzip_min_http 1000

    I don't think this is a good idea. It will make your
    mod_gzip create "Vary:*" headers and prevent from caching
    proxies to cooperate with your server, while gaining nothing
    in return (clients supporting less than HTTP/1.0 aren't
    actually out there I guess).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.