Changeset 1e6e0c
- Timestamp:
- 01/27/08 11:29:18 (4 years ago)
- Branches:
- master-v0.7, master-v0.6, memcached_hash, upstream_count_limit
- Children:
- 432a6a
- Parents:
- 7fe430
- git-author:
- Tomash Brechko <tomash.brechko@…> (01/27/08 11:29:18)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (01/27/08 11:29:18)
- File:
-
- 1 edited
-
memcached_hash/README (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
memcached_hash/README
re79806 r1e6e0c 16 16 INSTALLATION 17 17 18 The latest release and Git repository are available from 19 20 http://openhack.ru/nginx-patched 21 22 If you install both this module and nginx 0.5.x from the 23 memcached_hash branch of the Git repo, you don't have to apply any 24 patches as described below. 25 26 18 27 All nginx modules are meant to be statically compiled into nginx 19 28 server, so first you have to obtain nginx server source code: … … 45 54 46 55 If you already have nginx installed, you'd probably want to also 47 specify the configure parameters you used before. To see what48 arguments were given to configure for currently installed nginx server49 run 'nginx -V'. At last, do50 51 make (or make CFLAGS='-g -O2')56 specify the configure parameters you have used before. To see what 57 arguments have been given to configure for currently installed nginx 58 server, run 'nginx -V'. At last, do 59 60 make 52 61 make install 53 62 … … 160 169 supports only integer weights and does not support consistent hashing. 161 170 171 Also note that nginx escapes an URI key before sending the request to 172 memcached. As of this writing the transformation is equivalent to the 173 Perl code 174 175 use bytes; 176 $uri =~ s/[\x00-\x1f %]/ sprintf "%%%02x", ord $& /ge; 177 178 I.e. percent sign ('%'), space (' '), and control characters with the 179 codes in the range 0x00--0x1f are replaced with percent sign and two 180 digit hexadecimal character code (with a-f in lowercase). You have to 181 escape URI keys the same way before uploading the data to memcached 182 server, otherwise nginx won't find them. 183 162 184 163 185 SUPPORT 186 187 http://openhack.ru/nginx-patched - project home. 164 188 165 189 Send bug reports and feature requests to <tomash.brechko@gmail.com>.
Note: See TracChangeset
for help on using the changeset viewer.
