only the "default" virtual server in my cherokee,
i confirm [Behavior]-[Default]-[Encoding]-[Allow GZip] is Enabled

and [Behavior] is:

Target  Type    Handler Auth    Enc     Exp     Final
php     Extensions      FastCGI No      Yes     No      
        Delete
/about  Directory       Server Info     No      Yes     No      
        Delete
/cgi-bin        Directory       CGI     No      No      No      
        Delete
/cherokee_themes        Directory       Static content  No      No      No      
        Delete
/icons  Directory       Static content  No      No      No      
        Delete
Default Default List & Send     No      Yes     No      


but i visit any file is not in GZIP encoding.
i get the request info:

visit: (cherokee run the port 87)
  http://192.168.1.204:87/bak/test.html

send:
  GET /bak/test.html HTTP/1.1
  Accept: */*
  Accept-Language: zh-cn
  UA-CPU: x86
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
  Host: 192.168.1.204:87
  Connection: Keep-Alive
  Cache-Control: no-cache

get: (under cherokee,no gzip encoding...)
  HTTP/1.1 200 OK
  Connection: Keep-Alive
  Keep-Alive: timeout=15
  Date: Sat, 13 Dec 2008 22:44:21 GMT
  Server: Cherokee/0.11.3 (UNIX)
  ETag: 49443a24=648c
  Last-Modified: Sat, 13 Dec 2008 22:41:40 GMT
  Content-Type: text/html
  Content-Length: 25740

 testtesttes.....

same file,if visit under nginx(on my port 80) is no problem for GZIP encoding:

visit:
  http://192.168.1.204/bak/test.html

send:
  GET /bak/test.html HTTP/1.1
  Accept: */*
  Accept-Language: zh-cn
  UA-CPU: x86
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
  Host: 192.168.1.204
  Connection: Keep-Alive
  Cache-Control: no-cache

get:
  HTTP/1.1 200 OK
  Server: nginx/0.6.34
  Date: Sat, 13 Dec 2008 22:44:32 GMT
  Content-Type: text/html
  Last-Modified: Sat, 13 Dec 2008 22:41:40 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Content-Encoding: gzip

  a
  ?

why? how to open the gzip encoding on the cherokee?
help me ,thx :)
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to