|
| 1 | +Name |
| 2 | +==== |
| 3 | + |
| 4 | +sqlite-http-basic-auth-nginx-module - Sqlite based basic authentication for Nginx |
| 5 | + |
| 6 | +Installation |
| 7 | +============ |
| 8 | + |
| 9 | +1. Install sqlite3 into your system. |
| 10 | + |
| 11 | +1. Download the latest version of the release tarball of this module from |
| 12 | +sqlite-http-basic-auth-nginx-module [file list](http://github.com/kunal/sqlite-http-basic-auth-nginx-module/downloads). |
| 13 | + |
| 14 | +1. Grab the nginx source code from [nginx.net](http://nginx.net/), for example, |
| 15 | +the version 0.8.54 (see nginx compatibility), and then build the source with |
| 16 | +this module: |
| 17 | + |
| 18 | + $ wget 'http://sysoev.ru/nginx/nginx-0.8.54.tar.gz' |
| 19 | + $ tar -xzvf nginx-0.8.54.tar.gz |
| 20 | + $ cd nginx-0.8.54/ |
| 21 | + |
| 22 | + # Here we assume you would install you nginx under /opt/nginx/. |
| 23 | + $ ./configure --prefix=/opt/nginx \ |
| 24 | + --add-module=/path/to/ngx_devel_kit \ |
| 25 | + --add-module=/path/to/lua-nginx-module |
| 26 | + |
| 27 | + $ make |
| 28 | + $ make install |
| 29 | + |
| 30 | +Compatibility |
| 31 | +============= |
| 32 | + |
| 33 | +The following versions of Nginx should work with this module: |
| 34 | + |
| 35 | +* 0.8.x (last tested: 0.8.54) |
| 36 | + |
| 37 | +Copyright & License |
| 38 | +=================== |
| 39 | + |
| 40 | + This module is licenced under the BSD license. |
| 41 | + |
| 42 | + Copyright (C) 2011 by Kunal P.Bharati <kunalbharati@gmail.com>. |
| 43 | + |
| 44 | + All rights reserved. |
| 45 | + |
| 46 | + Redistribution and use in source and binary forms, with or without |
| 47 | + modification, are permitted provided that the following conditions |
| 48 | + are met: |
| 49 | + |
| 50 | + * Redistributions of source code must retain the above copyright |
| 51 | + notice, this list of conditions and the following disclaimer. |
| 52 | + |
| 53 | + * Redistributions in binary form must reproduce the above copyright |
| 54 | + notice, this list of conditions and the following disclaimer in the |
| 55 | + documentation and/or other materials provided with the distribution. |
| 56 | + |
| 57 | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 58 | + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 59 | + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 60 | + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 61 | + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 62 | + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
| 63 | + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 64 | + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 65 | + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 66 | + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 67 | + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 commit comments