Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marcus Clyne
committed
Dec 15, 2010
0 parents
commit 451d2ee
Showing
3 changed files
with
816 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Nginx HTTP Set Lang Module | ||
-------------------------- | ||
|
||
Description | ||
----------- | ||
|
||
An Nginx module that provides a variety of ways for setting a variable denoting the | ||
langauge that content should be returned in. | ||
|
||
|
||
Methods for setting language variable | ||
------------------------------------- | ||
|
||
- cookie | ||
- URL arguments | ||
- Accept-Language header | ||
- geoip | ||
- host | ||
- referer | ||
- POST variables (todo) | ||
|
||
|
||
Usage | ||
----- | ||
|
||
TODO | ||
|
||
|
||
Installation | ||
------------ | ||
|
||
./configure --add-module=/path/to/ngx_devel_kit --add-module=/path/to/ngx_http_set_lang | ||
|
||
|
||
|
||
Copyright | ||
--------- | ||
|
||
Marcus Clyne (c) 2010 | ||
|
||
|
||
License | ||
------- | ||
|
||
BSD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ngx_addon_name=ngx_http_set_lang_module | ||
HTTP_MODULES="$HTTP_MODULES ngx_http_set_lang_module" | ||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_set_lang_module.c" | ||
|
||
have=NDK_CONF_FILE . auto/have | ||
have=NDK_SET_VAR . auto/have | ||
have=NGX_HTTP_HEADERS . auto/have |
Oops, something went wrong.