7 messages in ru.sysoev.nginxRe: nginx memcached module and strang...
FromSent OnAttachments
Laurent ThevenetMar 13, 2008 3:16 pm 
Nanyang ZhanJul 25, 2008 12:34 am 
Nanyang ZhanJul 30, 2008 2:06 am 
Nanyang ZhanJul 30, 2008 9:38 pm 
Travis BellFeb 9, 2009 2:32 am 
Travis BellFeb 9, 2009 3:10 am 
Travis BellFeb 9, 2009 3:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx memcached module and strange charactersActions...
From:Nanyang Zhan (list@public.gmane.org)
Date:Jul 30, 2008 2:06:41 am
List:ru.sysoev.nginx

I have tried nginx/0.6.32, but this didn't fix the problem. I used: ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux] and ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-darwin9] with memcached 1.2.5 libmemcached 0.22 memcached gem 0.11 or memcached-client 1.5.0

here is my nginx conf file: worker_processes 1; pid /www/logs/nginx.pid; events { worker_connections 1024; } http { server { listen 80; server_name localhost; location / { default_type text/html; set $memcached_key $uri; memcached_pass localhost:11211; } } }

after I setup a cache: irb(main):002:0> require 'memcached' => true irb(main):003:0> c = Memcached.new('localhost:11211') #... irb(main):006:0> c.set '/test', 'hello'

when I opened 127.0.0.1/test with safari 3.0 or Firefox 3, I got: "hello

I get no idea where the Quotation mark coming from!!!!! Can anyone tell me how to fix it?